su
su1124
2024-08-02 9e84299c5952e8e068f319d67ac912fb779b13ca
su
2个文件已修改
1个文件已添加
32 ■■■■■ 已修改文件
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/views/reservation/resercopy/index.vue 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/reservation/reservations/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip
Binary files differ
src/views/reservation/resercopy/index.vue
@@ -58,12 +58,19 @@
          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>
@@ -124,7 +131,6 @@
          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" />
@@ -470,6 +476,7 @@
        drugManufacturerId: "",
        dwDeptName: "",
        reservationTime: "",
        yxts:"30",
      },
      DataList: [],
      tjOrderList: [], //单个项目集合
@@ -690,12 +697,12 @@
      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) {
@@ -834,6 +841,7 @@
      this.objs.drugManufacturerId = "";
      this.objs.dwDeptName = "";
      this.objs.reservationTime = "";
      this.objs.yxts = "";
      this.TotalPrice = "";
      this.tableData[0] = [];
      this.TotalPrice1 = "";
@@ -871,14 +879,13 @@
    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();
@@ -970,6 +977,7 @@
          reservations: this.userList,
          reservationTime: this.objs.reservationTime,
          dwDeptId: this.data.dwDeptId,
          yxts:this.objs.yxts,
        };
        newConfirm(data).then((res) => {
          this.$modal.msgSuccess("提交成功");
src/views/reservation/reservations/index.vue
@@ -2264,7 +2264,7 @@
      }
      tjReappoint(data).then((res) => {
        if (res.code === 200) {
          this.$modal.msgSuccess("登记成功");
          this.$modal.msgSuccess("预约成功");
        }
        _this.drawer = false;
      });