|
@@ -260,11 +260,7 @@ export default {
|
|
|
label: '全部',
|
|
|
value: ''
|
|
|
},
|
|
|
- ...this.orderStatusList,
|
|
|
- {
|
|
|
- label: '待支付',
|
|
|
- value: 'fucaidaizhifu'
|
|
|
- }
|
|
|
+ ...this.orderStatusList
|
|
|
]
|
|
|
}
|
|
|
]
|
|
@@ -580,9 +576,15 @@ export default {
|
|
|
{
|
|
|
label: '配件已取消',
|
|
|
value: 'PJYQX'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '待支付',
|
|
|
+ value: 'fucaidaizhifu'
|
|
|
}
|
|
|
].map(item => {
|
|
|
- if (this.fuhezhuangtai[item.value]) {
|
|
|
+ if (item.value === 'fucaidaizhifu') {
|
|
|
+ item.label = `${item.label}(${res.data.find(val => val.orderStatus == 'DZF')?.total || 0})`
|
|
|
+ } else if (this.fuhezhuangtai[item.value]) {
|
|
|
var num = 0
|
|
|
this.fuhezhuangtai[item.value].map(status => {
|
|
|
num += res.data.find(val => val.orderStatus == status)?.total || 0
|