解决待付金额和待收金额计算的bug
This commit is contained in:
@@ -225,7 +225,7 @@
|
||||
},
|
||||
{ title: '待付金额', dataIndex: 'needInMoney',width:80,
|
||||
customRender:function (text,record,index) {
|
||||
let needInMoney = record.discountLastMoney + record.otherMoney
|
||||
let needInMoney = record.discountLastMoney + record.otherMoney - record.deposit
|
||||
return needInMoney? needInMoney.toFixed(2):''
|
||||
}
|
||||
},
|
||||
|
||||
@@ -225,7 +225,7 @@
|
||||
},
|
||||
{ title: '待收金额', dataIndex: 'needOutMoney',width:80,
|
||||
customRender:function (text,record,index) {
|
||||
let needOutMoney = record.discountLastMoney + record.otherMoney
|
||||
let needOutMoney = record.discountLastMoney + record.otherMoney - record.deposit
|
||||
return needOutMoney? needOutMoney.toFixed(2):''
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user