From fcfd91a2d48f02bb5700a7886aab948b0399243c Mon Sep 17 00:00:00 2001 From: gejunhao <1421207006@qq.com> Date: Tue, 17 Dec 2024 11:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=9C=80=E6=B1=82=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E4=B8=8A=E4=BC=A0=E5=A4=9A=E6=96=87=E4=BB=B61217?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../planFileApproval.vue | 40 ++++++++++++++++++- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/src/views/ProcessApprovalSubPage/planFileApproval.vue b/src/views/ProcessApprovalSubPage/planFileApproval.vue index c71d5d9..e17f64e 100644 --- a/src/views/ProcessApprovalSubPage/planFileApproval.vue +++ b/src/views/ProcessApprovalSubPage/planFileApproval.vue @@ -23,7 +23,7 @@ 重新上传项目计划资料
+ +
+ + + + 选取文件 +
上传其他文件且不超过500M
+
+
+
+
+
上传意见文件
@@ -309,6 +341,10 @@ message.error('最大上传500M'); return false; } + //不做检测' + if (item == "all") { + return true; + } let geShi = ['xlx', 'xlsx', 'docx', 'doc', 'pdf'] as Array; if (geShi.indexOf(file.name.substring(file.name.lastIndexOf('.') + 1)) == -1) { message.error('文件格式错误!仅支持' + 'xlx,xlsx, docx, doc, pdf'); @@ -431,7 +467,7 @@ dataSource[0].taskName.indexOf('可研报告初稿编制') == -1 && dataSource[0].taskName.indexOf('可研报告送审稿编制') == -1 ) { - if (fileList.length != tableDataFiles.value.length) { + if (fileList.length != tableDataFiles.value.length && taskName.value != '首付支付') { message.error('上传的文件数量与项目计划资料数量不一致,请检查'); return; }