master
271556543@qq.com 3 years ago
parent ee2b8ab26a
commit dac5af1d76

@ -267,7 +267,10 @@ export default {
},
//
percentPay(){
let total = this.totalMoney()
let total = 0
this.payment.map(item => {
total += Number(item.act_money)
})
return ((total/this.contract.money)*100).toFixed(2) || 0
},
@ -280,6 +283,7 @@ export default {
this.paymentRegistrationForm.applyMoney = res.apply_money
this.paymentRegistrationForm.plan = res.plan_link
this.paymentRegistrationForm.discountMoney = res.discount_money
this.paymentRegistrationForm.actMoney = res.apply_money - res.discount_money
await this.getContract(res.contract)
},

Loading…
Cancel
Save