From fe4e8f1066a5df3c9ca9b637192fbbadaebde3fe Mon Sep 17 00:00:00 2001
From: buaixuexideshitongxue <2936013465@qq.com>
Date: Wed, 14 Jan 2026 15:01:53 +0800
Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81zxjm=E6=A0=BC=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/file/upload.vue | 4 ++--
src/views/report/edit/controlPrice.vue | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/file/upload.vue b/src/components/file/upload.vue
index b365db7..aef4ac4 100644
--- a/src/components/file/upload.vue
+++ b/src/components/file/upload.vue
@@ -73,13 +73,13 @@ watch(files, () => {
},{immediate:true});
function beforeUpload(file) {
- const allowExt = ['doc', 'docx', 'pdf', 'xls', 'xlsx']
+ const allowExt = ['doc', 'docx', 'pdf', 'xls', 'xlsx', 'zjxm']
const name = (file?.name || '').toLowerCase()
const ext = name.includes('.') ? name.split('.').pop() : ''
if (!allowExt.includes(ext)) {
feedback.msgWarning(
- '只能上传 Word / PDF / Excel 文件(.doc .docx .pdf .xls .xlsx)'
+ '只能上传 Word / PDF / Excel / ZJXM 文件(.doc .docx .pdf .xls .xlsx .zjxm)'
)
return false
}
diff --git a/src/views/report/edit/controlPrice.vue b/src/views/report/edit/controlPrice.vue
index ec24b60..91e1d5b 100644
--- a/src/views/report/edit/controlPrice.vue
+++ b/src/views/report/edit/controlPrice.vue
@@ -1408,7 +1408,7 @@ function hasAuditAttachment() {
说明:附件上传仅支持 上传 Word / PDF / Excel 文件(.doc .docx .pdf .xls .xlsx)
+说明:附件上传仅支持 上传 Word / PDF / Excel / ZJXM 文件(.doc .docx .pdf .xls .xlsx .ZJXM)