From 8a01cd3076ac20e1529a6768bb07e71f3c21f00d Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 25 四月 2024 15:43:57 +0800 Subject: [PATCH] 11 --- src/views/project/tallage/computingBill/index.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/project/tallage/computingBill/index.vue b/src/views/project/tallage/computingBill/index.vue index 2c48bfa..bc2a741 100644 --- a/src/views/project/tallage/computingBill/index.vue +++ b/src/views/project/tallage/computingBill/index.vue @@ -118,7 +118,7 @@ prop="index" align="center" fixed - label="妗堜緥鎹愮尞鑰�" + label="搴忓彿" width="120" > </el-table-column> @@ -1015,9 +1015,10 @@ this.form = response.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; - this.donorchargeorgans.forEach(item => { + this.donorchargeorgans.forEach((item, index) => { item.taXmoney = item.pretaxcost - item.taxedcost; item.taXmoney = item.taXmoney.toFixed(2); + item.index = index + 1; this.accumulation(); }); } @@ -1043,9 +1044,10 @@ this.form = response.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; - this.donorchargeorgans.forEach(item => { + this.donorchargeorgans.forEach((item, index) => { item.taXmoney = item.pretaxcost - item.taxedcost; item.taXmoney = item.taXmoney.toFixed(2); + item.index = index + 1; this.accumulation(); }); } @@ -1064,9 +1066,11 @@ this.form = res.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; - this.donorchargeorgans.forEach(item => { + this.donorchargeorgans.forEach((item, index) => { item.taXmoney = item.pretaxcost - item.taxedcost; item.taXmoney = item.taXmoney.toFixed(2); + item.index = index + 1; + this.accumulation(); }); } -- Gitblit v1.9.3