From 4fc9abfa57e81e83b74bdbd2e2f6d71d3500ef66 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 19 九月 2023 11:26:07 +0800
Subject: [PATCH] 11

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

diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index aa7619e..7f8e422 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -2562,8 +2562,12 @@
     calculateTax(row, type) {
       let targetValue = 0;
       for (let i = 0; i < this.rbDetails.length; i++) {
+        if(!this.rbDetails[i].amount){
+          this.rbDetails[i].amount=0;
+        }
         targetValue += parseFloat(this.rbDetails[i].amount); // 鍋囪姣忎釜瀵硅薄涓殑鐗瑰畾鍊煎瓨鍌ㄥ湪'specificValue'灞炴�т笅
       }
+      console.log(targetValue,'鍚堣');
       this.form.pretaxcost = targetValue;
 
       //if (isNaN(parseFloat(tempDetail.taxedamount)))
@@ -2994,6 +2998,7 @@
       for (let i = 0; i < this.checkedCities.length + 1; i++) {
         this.rbDetails[i].orderno = i + 1;
       }
+      this.calculateTax();
       this.batchdialogVisible = false;
     },
     //鏂板涓�琛�

--
Gitblit v1.9.3