付款计划总金额与合同总金额不相等问题

master
xy 2 years ago
parent 847e3c7459
commit cd138195ed

@ -462,10 +462,10 @@
}
const signMoneyTotal = this.signList.reduce((pre, cur) => (pre + Number(cur.money || 0)),0)
if (signMoneyTotal !== this.form.money) {
if (signMoneyTotal !== Number(this.form.money)) {
Message({
type: 'warning',
message: '付款计划总金额与合同总金额不相等'
message: '付款计划总金额与合同总金额不相等'
})
return
}

Loading…
Cancel
Save