【修改】打包管理增加 确认收入列

This commit is contained in:
fengachen
2022-11-14 17:20:33 +08:00
parent ff44a2078a
commit d0ae18df78
2 changed files with 11 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
export function formatMoney(money) {
if(money === 0) return '0.00'
if(money === '') return ''
var num = (money || 0).toString(),
re = /\d{3}$/,
+10 -1
View File
@@ -146,6 +146,13 @@ const defaultTableColumns = [
dataIndex: 'packChargeTotal',
scopedSlots: { customRender: 'allMoney' }
},
{
title: '确认收入',
align: 'center',
width: 180,
dataIndex: 'confirmAmount',
scopedSlots: { customRender: 'allMoney' }
},
{
title: '实际到账费用',
align: 'center',
@@ -276,7 +283,9 @@ export default {
id: '1',
title: '总计',
packChargeTotal: res.result.sumOfMoney || '0.00' + '',
receiptExpense: res.result.sumOfConfirmAmount || '0.00' + ''
receiptExpense: res.result.sumOfReallyMoney || '0.00' + '',
confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '',
}
this.footerDataSource = [obj]
if (pageListObj.total) {