优化单据列表的待收待付金额

This commit is contained in:
季圣华
2023-05-24 01:10:36 +08:00
parent 54b952dd4c
commit 1fe3446854
4 changed files with 4 additions and 4 deletions

View File

@@ -252,7 +252,7 @@
{ title: '待付金额', dataIndex: 'needInMoney',width:80,
customRender:function (text,record,index) {
let needInMoney = record.discountLastMoney + record.otherMoney - record.deposit
return needInMoney? needInMoney.toFixed(2):''
return needInMoney? needInMoney.toFixed(2):0
}
},
{ title: '付款', dataIndex: 'changeAmount',width:60},