From 0788934cc788cb38911660e0da9835f6f5f717a8 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 3 Apr 2023 16:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A3=80=E9=AA=8C=E6=8A=A5?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/DialogCheck.vue | 17 ++++++--- src/views/inout/IoDeliveryAuditOrder.vue | 15 +++++++- src/views/inout/IoSupAduitOrder.vue | 47 +++++++++++++++++++++++- src/views/inout/IoSupSecAuditOrder.vue | 43 +++++++++++++++++++++- 4 files changed, 111 insertions(+), 11 deletions(-) diff --git a/src/views/inout/DialogCheck.vue b/src/views/inout/DialogCheck.vue index dcf016c..3465a25 100644 --- a/src/views/inout/DialogCheck.vue +++ b/src/views/inout/DialogCheck.vue @@ -127,7 +127,7 @@
- 检验报告: + 检验报告上传:
@@ -159,13 +159,13 @@
- 预览: + 检验报告预览:
- 文件预览 + 检验报告预览 @@ -199,6 +199,10 @@ export default { type: Object, required: true, }, + checkFileName: { + type: Object, + required: true, + }, }, @@ -305,6 +309,7 @@ export default { this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`); }, uploadOnchange(file, fileList) { + this.inputQuery.checkFileName=file.name; let fileName = file.name; let uid = file.uid let pos = fileName.lastIndexOf("."); @@ -387,10 +392,10 @@ export default { this.formData = this.inputQuery.formData; console.log(this.inputQuery.formData); } - if (this.formData.filePath != null) { - this.choiceFile = "更换文件"; + if (this.inputQuery.filePath != null) { + this.choiceFile = "更换检验报告"; } else { - this.choiceFile = "选取文件"; + this.choiceFile = "选取检验报告"; } }, }; diff --git a/src/views/inout/IoDeliveryAuditOrder.vue b/src/views/inout/IoDeliveryAuditOrder.vue index c78e8d3..90b3431 100644 --- a/src/views/inout/IoDeliveryAuditOrder.vue +++ b/src/views/inout/IoDeliveryAuditOrder.vue @@ -158,6 +158,8 @@ + +