From 32586050d923e6bd1dc0a7afbe31b98a8599ca23 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期五, 28 三月 2025 16:50:49 +0800
Subject: [PATCH] qx

---
 src/views/reservation/resercopy/index.vue |   36 ++++++++++++++++++++----------------
 1 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue
index 1603441..5a19f42 100644
--- a/src/views/reservation/resercopy/index.vue
+++ b/src/views/reservation/resercopy/index.vue
@@ -697,7 +697,7 @@
       });
     },
     idFn(value) {
-      console.log(value);
+      this.userList = []
       if (value) {
         this.data.dwId = value;
         Deptlist(value).then((response) => {
@@ -893,13 +893,13 @@
     },
     // 鏂囦欢涓婁紶鎴愬姛澶勭悊
     handleFileSuccess(response, file, fileList) {
-      console.log(response, 666666);
       if (response.code == 500) {
-        console.log(22222222222);
+        this.isdisabled = true;
         // Message.warning(response.msg);
         // this.$modal.msgError(response.msg);
         // this.$modal.msgError("浜哄憳"+ response.data.list + "淇℃伅閿欒");
         const errorList = response.data.list.join(", ");
+       
         this.$confirm(`${errorList}`, `${response.msg}`, {
           confirmButtonText: "纭畾",
           cancelButtonText: "鍙栨秷",
@@ -907,10 +907,11 @@
           center: true,
           dangerouslyUseHTMLString: true,
         });
-      }
-      this.ListObj = response.data;
+      }else{
+        this.isdisabled = false;
+        this.ListObj = response.data;
       this.userList = response.data.list;
-
+     
       this.userList.forEach((item) => {
         this.CompanyList.forEach((item1) => {
           if (item1.drugManufacturerId == this.objs.drugManufacturerId) {
@@ -918,11 +919,12 @@
           }
         });
       });
+      }
+     
       this.upload.open = false;
       this.upload.isUploading = false;
       this.$refs.upload.clearFiles();
       this.leftList = response.msg;
-      console.log(response.code);
 
       if (this.leftList == "鎿嶄綔澶辫触") {
         this.isdisabled = true;
@@ -936,15 +938,17 @@
           "瀵煎叆缁撴灉",
           { dangerouslyUseHTMLString: true }
         );
-      } else {
-        this.isdisabled = false;
-        this.$alert(
-          "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
-            response.msg,
-          { dangerouslyUseHTMLString: true }
-        );
-        this.rightList = response;
-      }
+      } 
+      // else {
+      //   console.log(11111)
+      //   this.isdisabled = false;
+      //   this.$alert(
+      //     "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
+      //       response.msg,
+      //     { dangerouslyUseHTMLString: true }
+      //   );
+      //   this.rightList = response;
+      // }
       for (let i = 0; i < fileList.length; i++) {
         if (file.name != fileList[i].name) {
           this.fileList.push({

--
Gitblit v1.8.0