|
|
|
|
@ -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)
|
|
|
|
|
},
|
|
|
|
|
|