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)