From 494dd9608549c5ff1672306eeeff0ce45ab64582 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期五, 26 七月 2024 15:47:27 +0800 Subject: [PATCH] qxtj --- src/views/reservation/resercopy/index.vue | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue index e79c40c..4b8fbfb 100644 --- a/src/views/reservation/resercopy/index.vue +++ b/src/views/reservation/resercopy/index.vue @@ -123,7 +123,9 @@ align="center" prop="company" width="200" - /> + > + + </el-table-column> <!-- <el-table-column label="宸ュ彿" align="center" prop="jobNo" width="80" /> --> <el-table-column label="濮撳悕" align="center" prop="name" width="75" /> <el-table-column label="鎬у埆" align="center" prop="sex" width="75"> @@ -535,9 +537,9 @@ reservationTime: [ { required: true, validator: checkPhoneNum, trigger: "blur" }, ], - dwDeptName: [ - { required: true, validator: checkPhoneNum, trigger: "change" }, - ], + // dwDeptName: [ + // { required: true, validator: checkPhoneNum, trigger: "change" }, + // ], signingPic: [ { required: true, validator: checkPhoneNum, trigger: "blur" }, ], @@ -846,11 +848,11 @@ /** 瀵煎叆鎸夐挳鎿嶄綔 */ handleImport() { - if (this.objs.drugManufacturerId && this.objs.reservationTime &&this.objs.dwDeptName) { + if (this.objs.drugManufacturerId && this.objs.reservationTime) { this.upload.title = "鐢ㄦ埛瀵煎叆"; this.upload.open = true; } else { - this.$modal.msgError("璇烽�夋嫨鍗曚綅鎴栭儴闂�"); + this.$modal.msgError("璇烽�夋嫨鍗曚綅鎴栭绾︽椂闂�"); } }, /** 涓嬭浇妯℃澘鎿嶄綔 */ @@ -869,6 +871,14 @@ handleFileSuccess(response, file, fileList) { this.ListObj = response.data; this.userList = response.data.list; + this.userList.forEach(item => { + this.CompanyList.forEach (item1 => { + if(item1.drugManufacturerId ==this.objs.drugManufacturerId ){ + item.company = item1.cnName + } + }) + + }) this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); -- Gitblit v1.8.0