From 7860fe0191d10b79a53bd294edd36d31e9fb504c Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期二, 03 十二月 2024 10:03:26 +0800
Subject: [PATCH] 12.03

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

diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue
index b82e029..eedffce 100644
--- a/src/views/reservation/resercopy/index.vue
+++ b/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="鏈夋晥澶╂暟"
         />澶�(鍙嚜瀹氫箟)
@@ -90,7 +90,7 @@
           icon="el-icon-upload2"
           size="mini"
           @click="handleImport"
-          v-hasPermi="['system:user:import']"
+          
           >瀵煎叆</el-button
         >
       </el-col>
@@ -100,7 +100,7 @@
           icon="el-icon-upload2"
           size="mini"
           @click="importTemplate"
-          v-hasPermi="['system:user:import']"
+         
           >涓嬭浇妯℃澘</el-button
         >
       </el-col>
@@ -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("鎻愪氦鎴愬姛");

--
Gitblit v1.8.0