From af4d8bc390626edb43198c05692ff4792ff3d1d1 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 18 十一月 2026 09:42:51 +0800
Subject: [PATCH] 报销单信息加载失败,请重试

---
 src/views/project/fund/performancedetails/index.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index 58f8b60..d7fe7fe 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -2857,9 +2857,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 +2884,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