Commit 351649c5 by caoyanzhi

update: 订单列表

parent c63789fc
......@@ -66,7 +66,7 @@
<el-table-column label="商品信息" min-width="350px" show-overflow-tooltip>
<div class="goods-info-box" slot-scope="{ row }">
<div class="goods-logo">
<img class="goods-logo-icon" :src="row.imageUrl" alt="">
<img class="goods-logo-icon" :src="row.imageUrl ? row.imageUrl : './static/img/default-goods.png'" alt="">
<!-- productType 商品类型 1正常 2赠品 3换购 -->
<div v-if="row.productType == 2" class="goods-type-icon gift">赠品</div>
<div v-if="row.productType == 3" class="goods-type-icon swap">换购</div>
......@@ -86,7 +86,7 @@
</el-table-column>
<el-table-column label="数量" prop="skuNum" min-width="70px"></el-table-column>
<el-table-column label="小计金额(元)" min-width="120px">
<div slot-scope="{ row }">{{ row.payPrice * row.skuNum | fomatFloat }}</div>
<div slot-scope="{ row }">{{ row.payPrice * Math.abs(row.skuNum) | fomatFloat }}</div>
</el-table-column>
<el-table-column label="订单金额(元)" class-name="order-amount" min-width="210px">
<div class="order-descript">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment