From 84a9297d616a8db97330e3daa6b92974bb738fa5 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期一, 28 七月 2025 16:38:30 +0800 Subject: [PATCH] 1 --- src/views/reservation/reservations/index.vue | 49 +++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 39 insertions(+), 10 deletions(-) diff --git a/src/views/reservation/reservations/index.vue b/src/views/reservation/reservations/index.vue index 3a996ed..d039963 100644 --- a/src/views/reservation/reservations/index.vue +++ b/src/views/reservation/reservations/index.vue @@ -118,10 +118,10 @@ @keyup.enter.native="handleQuery" /> </el-form-item> - <el-form-item label="鍗曚綅鍚嶇О" prop="company"> + <el-form-item label="鍗曚綅鍚嶇О" prop="companyId"> <el-select :remote-method="getRemoteData" - v-model="queryParams.company" + v-model="queryParams.companyId" remote default-first-option allow-create @@ -409,14 +409,14 @@ <el-table-column label="濂楅鍚嶇О" align="center" - prop="tcmc" + prop="dwDeptName" :show-overflow-tooltip="true" width="160px" /> <el-table-column label="鍒嗙粍鍚嶇О" align="center" - prop="fzmc" + prop="groupingName" :show-overflow-tooltip="true" width="160px" /> @@ -627,10 +627,10 @@ style="width: 160px" /> </el-form-item> - <el-form-item label="鍗曚綅鍚嶇О" prop="company"> + <el-form-item label="鍗曚綅鍚嶇О" prop="companyId"> <el-select :remote-method="getRemoteData" - v-model="formIn.company" + v-model="formIn.companyId" remote default-first-option allow-create @@ -963,10 +963,11 @@ > </el-table-column> <el-table-column label="鎶樻墸" width="160px" align="center"> + <!-- @input="validateDiscount(scope.row)" --> <template slot-scope="scope"> <el-input-number v-model.number="scope.row.discount" - @input="validateDiscount(scope.row)" + placeholder="杈撳叆鎶樻墸" size="small" type="number" @@ -1418,10 +1419,10 @@ style="width: 160px" /> </el-form-item> - <el-form-item label="鍗曚綅鍚嶇О" prop="company"> + <el-form-item label="鍗曚綅鍚嶇О" prop="companyId"> <el-select :remote-method="getRemoteData" - v-model="formIn.company" + v-model="formIn.companyId" remote default-first-option allow-create @@ -1739,9 +1740,10 @@ </el-table-column> <el-table-column label="鎶樻墸" width="160px" align="center"> <template slot-scope="scope"> + <!-- @input="validateDiscount(scope.row)" --> <el-input-number v-model.number="scope.row.discount" - @input="validateDiscount(scope.row)" + placeholder="杈撳叆鎶樻墸" size="small" type="number" @@ -2556,7 +2558,29 @@ }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { + this.startTime = []; + this.createTimeList = []; this.resetForm("queryForm"); + this.queryParams = { + pageNum: 1, + pageSize: 10, + cusName: null, + cusSex: null, + cusBrithday: null, + cusAddr: null, + phone: null, + yykssj: "", // 棰勭害寮�濮嬫椂闂� + yyjssj: "", // 棰勭害缁撴潫鏃堕棿 + cusPostcode: null, + cusEmail: null, + indexCard: null, + cusNational: null, + cusMarryStatus: null, + cusIdcard: null, + cusIntroduce: null, + cusNumber: null, + cusIsvip: null, + }; this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 @@ -3107,6 +3131,11 @@ if (this.formIn.timeRegion === "11:00-12:00") { this.formIn.timeRegion = 3; } + this.CompanyList.forEach((item) => { + if (item.drugManufacturerId === this.formIn.companyId) { + this.formIn.company = item.cnName; + } + }); let data; if (pacId) { data = { -- Gitblit v1.8.0