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/applyDetail/index.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index b929c31..f3fa626 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -3087,9 +3087,17 @@
* 瑙勫垯涓庡悗绔� AttachmentNameValidator 鍚屽彛寰勶細涓嶅己鍒跺惈涓枃 / 鍘绘帀鎵╁睍鍚嶅悗涓诲共 鈮�20 瀛� /
* 涓嶅惈绌烘牸鍙� / \ : * ? " < > | # % 绛夌壒娈婂瓧绗︺��
*/
+ /**
+ * 2026-11-17锛氶檮浠跺悕鏄惁蹇呴』鍚腑鏂�
+ * 涓撳鍔冲姟璐�(1)銆佷鸡鐞嗕笓瀹惰垂(2) 涓嶈姹傦紱鍖诲鎴愭湰(3)銆佸姙鍏垂鐢�(4) 绛夊叾浠栫被鍨嬪繀椤诲惈涓枃
+ * 锛堝尰闄㈡姤閿�鍗曞鎵硅姹傦細闄勪欢鍚嶈鍙嶆槧鍙戠エ涓昏鍐呭锛�
+ */
+ 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;
@@ -3107,7 +3115,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