From 556227f639fc5d5bc7b35c3da437634d8215d263 Mon Sep 17 00:00:00 2001 From: nidapeng <jp@doumee.com> Date: 星期四, 11 四月 2024 09:31:02 +0800 Subject: [PATCH] 提交一把 --- company/src/components/enterprise/OperaInsuranceApplyWindow.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/company/src/components/enterprise/OperaInsuranceApplyWindow.vue b/company/src/components/enterprise/OperaInsuranceApplyWindow.vue index 535c8b6..f9e1ff6 100644 --- a/company/src/components/enterprise/OperaInsuranceApplyWindow.vue +++ b/company/src/components/enterprise/OperaInsuranceApplyWindow.vue @@ -298,11 +298,15 @@ if (index === 0) { sums[index] = '鎬讳环' } else if (index === 7) { - let total = 0 - this.tableData.forEach(item => { - total += item.fee - }) - sums[index] = total.toFixed(2) + if(this.item.type == 1){ + sums[index] = "-" + }else{ + let total = 0 + this.tableData.forEach(item => { + total += item.fee + }) + sums[index] = total.toFixed(2) + } } }) return sums -- Gitblit v1.9.3