From 9e7c8d26cfbe9eca1f0d0e1302581832e3b7d22a Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 26 十一月 2026 09:35:44 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web

---
 src/views/project/fund/performancedetails/index.vue |   70 +++++++++++++++++------------------
 1 files changed, 34 insertions(+), 36 deletions(-)

diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index 58f8b60..597d9b8 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -251,33 +251,6 @@
               </template>
             </el-table-column>
             <el-table-column
-              prop="vatAmount"
-              align="right"
-              header-align="right"
-              class-name="money-column"
-              label="澧炲�肩◣"
-              width="110"
-              :formatter="formatMoney"
-            />
-            <el-table-column
-              prop="cityTaxAmount"
-              align="right"
-              header-align="right"
-              class-name="money-column"
-              label="鍩庡缓绋�"
-              width="110"
-              :formatter="formatMoney"
-            />
-            <el-table-column
-              prop="laborPretaxAmount"
-              align="right"
-              header-align="right"
-              class-name="money-column"
-              label="鍔冲姟绋庡墠"
-              width="120"
-              :formatter="formatMoney"
-            />
-            <el-table-column
               prop="taxamount"
               align="right"
               header-align="right"
@@ -290,7 +263,7 @@
                   @blur="normalizeMoney(scope.row, 'taxamount'); chargeSum()"
                   v-model="scope.row.taxamount"
                   class="money-input"
-                  placeholder="鍔冲姟涓◣"
+                  placeholder="涓◣"
                 />
               </template>
             </el-table-column>
@@ -299,14 +272,14 @@
               align="right"
               header-align="right"
               class-name="money-column"
-              label="鍔冲姟绋庡悗"
+              label="绋庡悗閲戦"
               width="120"
              :formatter="formatMoney">
               <template slot-scope="scope">
                 <el-input
                   v-model="scope.row.taxedamount"
                   class="money-input"
-                  placeholder="鍔冲姟绋庡悗"
+                  placeholder="绋庡悗閲戦"
                   @blur="normalizeMoney(scope.row, 'taxedamount'); queenchargeSum()"
                 />
               </template>
@@ -2837,14 +2810,30 @@
       this.showSelectionDialog = false;
     },
     handleUploadError() {},
+    /** 2026-11-23锛氭寜鏂囦欢鍚嶄粠鍒楄〃涓簿纭垹闄や竴椤癸紝閬垮厤鐢ㄩ瑙堝垪琛�(blob)鏁磋〃瑕嗙洊闄勪欢瀛楁 */
+    spliceByName(list, name) {
+      if (!list || !name) {
+        return;
+      }
+      const idx = list.findIndex(item => item && item.name === name);
+      if (idx > -1) {
+        list.splice(idx, 1);
+      }
+    },
     remove(file, fileList) {
       const rbDetails = [...this.rbDetails];
       if (this.activeName == 1) {
-        this.fileListto.splice(this.fileListto.indexOf(file), 1);
-        rbDetails[this.atpresent].annexfilesList = this.fileListto;
+        this.spliceByName(this.fileListto, file && file.name);
+        this.spliceByName(
+          rbDetails[this.atpresent].annexfilesList,
+          file && file.name
+        );
       } else {
-        this.invoicefileListto.splice(this.invoicefileListto.indexOf(file), 1);
-        rbDetails[this.atpresent].invoicefilesList = this.invoicefileListto;
+        this.spliceByName(this.invoicefileListto, file && file.name);
+        this.spliceByName(
+          rbDetails[this.atpresent].invoicefilesList,
+          file && file.name
+        );
       }
     },
     // 鑾峰彇璇锋眰澶�
@@ -2857,9 +2846,16 @@
      * 瑙勫垯涓庡悗绔� AttachmentNameValidator 鍚屽彛寰勶細涓嶅己鍒跺惈涓枃 / 鍘绘帀鎵╁睍鍚嶅悗涓诲共 鈮�20 瀛� /
      * 涓嶅惈绌烘牸鍙� / \ : * ? " < > | # % 绛夌壒娈婂瓧绗︺��
      */
+    /**
+     * 2026-11-17锛氶檮浠跺悕鏄惁蹇呴』鍚腑鏂�
+     * 涓撳鍔冲姟璐�(1)銆佷鸡鐞嗕笓瀹惰垂(2) 涓嶈姹傦紱缁╂晥鍙婂叾浠栫被鍨嬪繀椤诲惈涓枃
+     */
+    requireChineseName() {
+      return !(this.businessType == "1" || this.businessType == "2");
+    },
     checkUploadFileName(file) {
       const raw = file && file.raw ? file.raw.name : file && file.name;
-      const r = checkFileName(raw);
+      const r = checkFileName(raw, { requireChinese: this.requireChineseName() });
       if (!r.ok) {
         this.$modal.msgError(r.msg);
         return false;
@@ -2877,7 +2873,9 @@
       if (this.form && this.form.id) {
         return true;
       }
-      const c = checkDetails(this.rbDetails);
+      const c = checkDetails(this.rbDetails, {
+        requireChinese: this.requireChineseName()
+      });
       if (!c.ok) {
         this.$modal.msgError(c.msg);
         return false;

--
Gitblit v1.9.3