From 6548996bfac9dd02e21e1fd9519109fc8b5dfeb2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 11 五月 2024 18:48:47 +0800
Subject: [PATCH] 提交一把
---
 company/src/components/enterprise/additionSubtractionApplication.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/company/src/components/enterprise/additionSubtractionApplication.vue b/company/src/components/enterprise/additionSubtractionApplication.vue
index 4e49a6e..25e43f9 100644
--- a/company/src/components/enterprise/additionSubtractionApplication.vue
+++ b/company/src/components/enterprise/additionSubtractionApplication.vue
@@ -148,7 +148,7 @@
                 label="璐圭敤">
                 <template slot-scope="{row}">
                     <span v-if="activeName === '0'">{{row.fee}}</span>
-                    <span v-else>{{row.fee ? '-' + row.fee : ''}}</span>
+                    <span v-else>{{row.reducePrice ?  row.reducePrice : '0'}}</span>
                 </template>
             </el-table-column>
           <el-table-column
@@ -279,12 +279,12 @@
         validTime: e
       }).then(res => {
         this.price = res.cyclePrice
-        this.reducePrice=res.reducePrice
+        this.reducePrice= 0
         this.form.addDetailList.forEach(item => {
           item.fee = res.cyclePrice
         })
         this.form.delDetailList.forEach(item => {
-          item.fee = res.reducePrice
+          // item.fee = item.reducePrice
         })
       }).catch(e => {
         this.$tip.apiFailed(e)
@@ -350,9 +350,9 @@
             sums[index] = total.toFixed(2)
           } else {
             this.form.delDetailList.forEach(item => {
-              total += item.fee
+              total += item.reducePrice
             })
-            sums[index] = '-' + total.toFixed(2)
+            sums[index] =  total.toFixed(2)
           }
         }
       })
--
Gitblit v1.9.3