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 | 64 ++++++++++++++++++------------- 1 files changed, 37 insertions(+), 27 deletions(-) diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue index 18d9250..4b8fbfb 100644 --- a/src/views/reservation/resercopy/index.vue +++ b/src/views/reservation/resercopy/index.vue @@ -123,8 +123,10 @@ align="center" prop="company" width="200" - /> - <el-table-column label="宸ュ彿" align="center" prop="jobNo" width="80" /> + > + + </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"> <template slot-scope="scope"> @@ -147,14 +149,14 @@ prop="birthday" width="100" /> - <el-table-column label="鑱屼綅" align="center" prop="position" /> - <el-table-column label="閮ㄩ棬" align="center" prop="department" /> - <el-table-column label="閮ㄩ棬缂栧彿" align="center" prop="departmentId" /> + <!-- <el-table-column label="鑱屼綅" align="center" prop="position" /> --> + <!-- <el-table-column label="閮ㄩ棬" align="center" prop="department" /> --> + <!-- <el-table-column label="閮ㄩ棬缂栧彿" align="center" prop="departmentId" /> --> <el-table-column label="鑱旂郴鐢佃瘽" align="center" prop="phoe" - width="120" + width="140" /> <el-table-column label="鍦板潃" align="center" prop="address" /> <el-table-column @@ -178,7 +180,7 @@ /> </template> </el-table-column> - <el-table-column label="鑱旂郴閭" align="center" prop="email" /> + <!-- <el-table-column label="鑱旂郴閭" align="center" prop="email" /> --> <!-- <el-table-column label="浣撴绫诲埆" align="center" prop="tjCategory" /> --> <el-table-column label="鍒嗙粍" align="center" prop="groupingName" /> <el-table-column label="椤圭洰鏀惰垂" align="center" prop="ysPrice" /> @@ -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" }, ], @@ -704,55 +706,55 @@ const { columns, data } = param; const sums = []; columns.forEach((column, index) => { + // if (index === 0) { + // sums[index] = "鍚堣"; + // return; + // } if (index === 0) { - sums[index] = "鍚堣"; - return; - } - if (index === 1) { sums[index] = "鎬昏浜烘暟"; return; } - if (index === 2) { + if (index === 1) { sums[index] = this.ListObj.count; return; } - if (index === 6) { + if (index === 2) { sums[index] = "鐢风粍浜烘暟"; return; } - if (index === 7) { + if (index === 3) { sums[index] = this.ListObj.manCount; return; } - if (index === 8) { + if (index === 4) { sums[index] = "鐢风粍閲戦"; return; } - if (index === 9) { + if (index === 5) { sums[index] = this.ListObj.manMoney; return; } - if (index === 11) { + if (index === 6) { sums[index] = "濂崇粍浜烘暟"; return; } - if (index === 12) { + if (index === 7) { sums[index] = this.ListObj.woManCount; return; } - if (index === 13) { + if (index === 8) { sums[index] = "濂崇粍閲戦"; return; } - if (index === 14) { + if (index === 9) { sums[index] = this.ListObj.woManMoney; return; } - if (index === 15) { + if (index === 10) { sums[index] = "鍚堣閲戦"; return; } - if (index === 16) { + if (index === 11) { sums[index] = this.ListObj.hjMoney; return; } @@ -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