From db905ecd14f63dba9337b4f4715584ef2d7e8c7e Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 07 三月 2025 14:45:00 +0800
Subject: [PATCH] 修改

---
 src/views/specialOperationsPay/notCoalCalculate/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/specialOperationsPay/notCoalCalculate/index.vue b/src/views/specialOperationsPay/notCoalCalculate/index.vue
index fdd90da..26ad777 100644
--- a/src/views/specialOperationsPay/notCoalCalculate/index.vue
+++ b/src/views/specialOperationsPay/notCoalCalculate/index.vue
@@ -209,6 +209,10 @@
           sums[index] = '合计';
           return
         }
+        if (index === 2) {
+          sums[index] = '--';
+          return
+        }
         const values = data.map(item => Number(item[column.property]))
         if (!values.every(value => isNaN(value))) {
           sums[index] = values.reduce((prev, curr) => {
@@ -219,9 +223,6 @@
               return prev;
             }
           }, 0)
-          if(index == 2){
-            sums[index] += '元/人次';
-          }
         } else {
           sums[index] = '--';
         }

--
Gitblit v1.9.2