From 945013e95db881b8826ea1211a71ac77219701d8 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 8 Jul 2025 11:24:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A2=E5=8A=A1=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/finance/components/examineRegistration.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/finance/components/examineRegistration.vue b/src/views/finance/components/examineRegistration.vue index 195b3ae..6fad3f7 100644 --- a/src/views/finance/components/examineRegistration.vue +++ b/src/views/finance/components/examineRegistration.vue @@ -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() },