su
su1124
2024-08-15 2ab2dcd91a6ee60fa907fd3c667ed174f17f13b5
src/views/reservation/resercopy/index.vue
@@ -67,7 +67,7 @@
      </el-form-item>
      <el-form-item label="有效天数" prop="yxts">
        <el-input
        style="width:100px"
          style="width:100px"
          v-model="objs.yxts"
          placeholder="有效天数"
        />天(可自定义)
@@ -475,7 +475,7 @@
      objs: {
        drugManufacturerId: "",
        reservationTime: "",
        yxts:"30",
        yxts: "30",
      },
      DataList: [],
      tjOrderList: [], //单个项目集合
@@ -876,6 +876,12 @@
    },
    // 文件上传成功处理
    handleFileSuccess(response, file, fileList) {
      console.log(response,666666);
       if (response.code == 500) {
        console.log(22222222222);
        // Message.warning(response.msg);
        this.$modal.msgError(response.msg);
      }
      this.ListObj = response.data;
      this.userList = response.data.list;
      this.userList.forEach((item) => {
@@ -889,6 +895,8 @@
      this.upload.isUploading = false;
      this.$refs.upload.clearFiles();
      this.leftList = response.msg;
      console.log(response.code);
      if (this.leftList == "操作失败") {
        this.isdisabled = true;
        this.$alert(
@@ -977,8 +985,8 @@
          reservations: this.userList,
          reservationTime: this.objs.reservationTime,
          dwDeptId: this.data.dwDeptId,
          yxts:this.objs.yxts,
           dwId: this.data.dwId,
          yxts: this.objs.yxts,
          dwId: this.data.dwId,
        };
        newConfirm(data).then((res) => {
          this.$modal.msgSuccess("提交成功");