财务审核

master
lion 5 months ago
parent fcbc54ca8f
commit 945013e95d

@ -657,7 +657,8 @@ import {listdeptNoAuth} from "@/api/system/department";
this.payment.map(item => { this.payment.map(item => {
total += Number(item.act_money) 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) { 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()) 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(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() // this.getBudgets()
await this.moneyWayChange() await this.moneyWayChange()
}, },

Loading…
Cancel
Save