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 @@ + +