刘翔宇-旅管家 3 years ago
parent 49ebbacf06
commit 5bce87c163

@ -458,8 +458,8 @@
this.paymentRegistrationForm.plan.forEach(item => { this.paymentRegistrationForm.plan.forEach(item => {
total += Number(item.use_money) total += Number(item.use_money)
}) })
console.log(Number(this.paymentRegistrationForm.actMoney), total) console.log(Number(this.paymentRegistrationForm.actMoney).toFixed(2), total.toFixed(2))
if (Number(this.paymentRegistrationForm.actMoney) !== total) { if (Number(this.paymentRegistrationForm.actMoney).toFixed(2) !== total.toFixed(2)) {
Message({ Message({
type: 'warning', type: 'warning',
message: '实际付款金额与计划总金额不符' message: '实际付款金额与计划总金额不符'

Loading…
Cancel
Save