From 21fe2968337eb8eab97adc88750b71c4057e98f8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 17 七月 2024 15:39:46 +0800
Subject: [PATCH] 11

---
 src/views/project/fund/performancedetails/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index 0b83e4c..97a3078 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -14,7 +14,7 @@
                 type="date"
                 value-format="yyyy-MM-dd HH:mm:ss"
                 placeholder="鐢宠鏃ユ湡"
-                disabled="true"
+                :disabled="true"
               >
               </el-date-picker>
             </el-form-item>
@@ -2056,10 +2056,12 @@
         if (!this.rbDetails[i].taxamount) {
           this.rbDetails[i].taxamount = 0;
         }
-        this.rbDetails[i].taxedamount =
+        this.rbDetails[i].taxedamount = (
           parseFloat(this.rbDetails[i].amount) -
-          parseFloat(this.rbDetails[i].taxamount);
+          parseFloat(this.rbDetails[i].taxamount)
+        ).toFixed(2);
         targetValue += parseFloat(this.rbDetails[i].amount); // 鍋囪姣忎釜瀵硅薄涓殑鐗瑰畾鍊煎瓨鍌ㄥ湪'specificValue'灞炴�т笅
+        console.log(this.rbDetails[i].taxedamount, "鍚堣");
       }
       console.log(targetValue, "鍚堣");
       this.form.pretaxcost = targetValue;

--
Gitblit v1.9.3