From b79a39d92db3baae7c3c8587e2858561bec0d6ca Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 17 四月 2024 14:37:34 +0800
Subject: [PATCH] mrshi

---
 company/src/components/enterprise/OperaInsuranceApplyWindow.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/company/src/components/enterprise/OperaInsuranceApplyWindow.vue b/company/src/components/enterprise/OperaInsuranceApplyWindow.vue
index 7fcb3e3..f9e1ff6 100644
--- a/company/src/components/enterprise/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/enterprise/OperaInsuranceApplyWindow.vue
@@ -117,6 +117,9 @@
             <el-table-column
                 prop="fee"
                 label="璐圭敤">
+              <template slot-scope="{row}">
+                {{item.type==1?'-':row.fee}}
+              </template>
             </el-table-column>
             <el-table-column
                 label="鎿嶄綔">
@@ -295,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
+          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