Commit ab715fa8 authored by 季圣华's avatar 季圣华
Browse files

解决待付金额和待收金额计算的bug

parent aac42f8d
......@@ -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):''
}
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment