| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | > |
| | | </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" |
| | |
| | | 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 |
| | |
| | | </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" |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | 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(); |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | 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 = { |