| | |
| | | @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 |
| | |
| | | <i class="el-icon-circle-plus-outline" @click="handleAdd1"></i> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="套餐名称" prop="dwDeptName"> |
| | | <!-- <el-form-item label="套餐名称" prop="dwDeptName"> |
| | | <el-select v-model="queryParams.dwDeptName" placeholder="请选择套餐名称" clearable style="width: 100%" |
| | | @change="idFn2"> |
| | | <el-option v-for="dict in deptList" :key="dict.id" :label="dict.dwDeptName" :value="dict.id" /> |
| | |
| | | <el-select v-model="queryParams.groupingName" placeholder="请选择分组名称" clearable style="width: 100%"> |
| | | <el-option v-for="dict in groupingList" :key="dict.id" :label="dict.pacName" :value="dict.id" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | <el-form-item label="预约时间"> |
| | | <el-date-picker |
| | | clearable |
| | |
| | | <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" |
| | | /> |
| | | <el-table-column |
| | | label="分组名称" |
| | | align="center" |
| | | prop="department" |
| | | :show-overflow-tooltip="true" |
| | | width="160px" |
| | | /> |
| | |
| | | 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 = { |