|
@@ -91,7 +91,6 @@ export default {
|
|
|
const _item = res.data.list[i]
|
|
|
_item.no = no + i + 1
|
|
|
}
|
|
|
- this.orderTotal = res.data.count || 0
|
|
|
return res.data
|
|
|
})
|
|
|
},
|
|
@@ -120,12 +119,11 @@ export default {
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- title: '销售合作商',
|
|
|
- dataIndex: 'salesChannelName',
|
|
|
- width: '150px',
|
|
|
- align: 'center'
|
|
|
+ title: '销售合作商',
|
|
|
+ dataIndex: 'salesChannelName',
|
|
|
+ width: '150px',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
-
|
|
|
{
|
|
|
title: '结算时间',
|
|
|
dataIndex: 'settleDate',
|
|
@@ -173,7 +171,7 @@ export default {
|
|
|
} else {
|
|
|
this.openWriteOffModal = true
|
|
|
}
|
|
|
- console.log(this.itemId, record.settleType)
|
|
|
+ console.log(this.itemId, record.settleType)
|
|
|
},
|
|
|
// 查询
|
|
|
refresh () {
|
|
@@ -211,8 +209,10 @@ export default {
|
|
|
if (res.status == 200) {
|
|
|
if (res.data) {
|
|
|
this.amountTotal = res.data.amount || 0
|
|
|
+ this.orderTotal = res.data.orderNum || 0
|
|
|
} else {
|
|
|
this.amountTotal = 0
|
|
|
+ this.orderTotal = 0
|
|
|
}
|
|
|
}
|
|
|
})
|