| | |
| | | type="date" |
| | | format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd" |
| | | style="width: 220px" |
| | | style="width: 130px" |
| | | placeholder="请选择预约日期" |
| | | @change="selectTime" |
| | | :picker-options="setDisabled" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="有效天数" prop="yxts"> |
| | | <el-input |
| | | style="width:100px" |
| | | v-model="objs.yxts" |
| | | placeholder="有效天数" |
| | | />天(可自定义) |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | |
| | | 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" /> |
| | |
| | | drugManufacturerId: "", |
| | | dwDeptName: "", |
| | | reservationTime: "", |
| | | yxts:"30", |
| | | }, |
| | | DataList: [], |
| | | tjOrderList: [], //单个项目集合 |
| | |
| | | console.log(value); |
| | | if (value) { |
| | | this.data.dwId = value; |
| | | this.CompanyList.forEach(item=>{ |
| | | this.CompanyList.forEach((item) => { |
| | | console.log(item); |
| | | if(item.drugManufacturerId == this.data.dwId){ |
| | | this.data.dwName = item.cnName |
| | | this.data.dwName = item.cnName; |
| | | } |
| | | }) |
| | | }); |
| | | } |
| | | }, |
| | | idBm(value) { |
| | |
| | | this.objs.drugManufacturerId = ""; |
| | | this.objs.dwDeptName = ""; |
| | | this.objs.reservationTime = ""; |
| | | this.objs.yxts = ""; |
| | | this.TotalPrice = ""; |
| | | this.tableData[0] = []; |
| | | this.TotalPrice1 = ""; |
| | |
| | | handleFileSuccess(response, file, fileList) { |
| | | this.ListObj = response.data; |
| | | this.userList = response.data.list; |
| | | this.userList.forEach(item => { |
| | | this.CompanyList.forEach (item1 => { |
| | | this.userList.forEach((item) => { |
| | | this.CompanyList.forEach((item1) => { |
| | | if(item1.drugManufacturerId ==this.objs.drugManufacturerId ){ |
| | | item.company = item1.cnName |
| | | item.company = item1.cnName; |
| | | } |
| | | }) |
| | | |
| | | }) |
| | | }); |
| | | }); |
| | | this.upload.open = false; |
| | | this.upload.isUploading = false; |
| | | this.$refs.upload.clearFiles(); |
| | |
| | | reservations: this.userList, |
| | | reservationTime: this.objs.reservationTime, |
| | | dwDeptId: this.data.dwDeptId, |
| | | yxts:this.objs.yxts, |
| | | }; |
| | | newConfirm(data).then((res) => { |
| | | this.$modal.msgSuccess("提交成功"); |