|
|
|
|
@ -657,7 +657,8 @@ import {listdeptNoAuth} from "@/api/system/department";
|
|
|
|
|
this.payment.map(item => {
|
|
|
|
|
total += Number(item.act_money)
|
|
|
|
|
})
|
|
|
|
|
return ((total / this.contract?.money??0) * 100).toFixed(2) || 0
|
|
|
|
|
console.log("total",total,this.contract?.money)
|
|
|
|
|
return ((total / Number(this.contract?.money??0)) * 100).toFixed(2) || 0
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
async getRegistration(id) {
|
|
|
|
|
@ -688,7 +689,7 @@ import {listdeptNoAuth} from "@/api/system/department";
|
|
|
|
|
|
|
|
|
|
await this.getContract(res.contract,res.plan_link?.map(i => i.plan_id)?.toString())
|
|
|
|
|
// this.getBudgets(this.paymentRegistrationForm.plan?.map(i => i.plan_id)?.toString())
|
|
|
|
|
this.getBudgets(res.plan_link?.map(i => i.plan_id)?.toString())
|
|
|
|
|
this.getBudgets(res.plan_link?.map(i => i.plan.pid>0?i.plan.pid:i.plan.id)?.toString())
|
|
|
|
|
// this.getBudgets()
|
|
|
|
|
await this.moneyWayChange()
|
|
|
|
|
},
|
|
|
|
|
|