优化订单显示
This commit is contained in:
parent
3159d0b459
commit
81b15c1afe
|
|
@ -79,7 +79,7 @@
|
|||
<div class="table_order_info">
|
||||
<div class="order_no">{{ scope.row.orderNo }}</div>
|
||||
<!-- <div>会员 {{ scope.row.orderNo }}</div> -->
|
||||
<div class="type">【{{ scope.row.orderType | orderTypeFilter }}{{ scope.row.sendType |
|
||||
<div class="type">【{{ scope.row.orderType | orderTypeFilter }} {{ scope.row.sendType |
|
||||
sendTypeFilter }}】</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -110,12 +110,17 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="状态">
|
||||
<template v-slot="scope">
|
||||
<el-tag type="primary" v-if="scope.row.status == 'closed'">
|
||||
{{ scope.row.status | statusFilter }}
|
||||
</el-tag>
|
||||
<el-tag type="warning" v-if="scope.row.status != 'closed'">
|
||||
{{ scope.row.status | statusFilter }}
|
||||
</el-tag>
|
||||
<template v-if="scope.row.status == 'refund' && scope.row.orderType != 'return'">
|
||||
<el-tag type="primary">已完成</el-tag>
|
||||
</template>
|
||||
<template v-else>
|
||||
<el-tag type="primary" v-if="scope.row.status == 'closed'">
|
||||
{{ scope.row.status | statusFilter }}
|
||||
</el-tag>
|
||||
<el-tag type="warning" v-if="scope.row.status != 'closed'">
|
||||
{{ scope.row.status | statusFilter }}
|
||||
</el-tag>
|
||||
</template>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间">
|
||||
|
|
@ -219,7 +224,7 @@ export default {
|
|||
res.map(item => {
|
||||
total += item.payAmount
|
||||
})
|
||||
this.payCountTotal = total
|
||||
this.payCountTotal = Math.floor(total * 100) / 100
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue