From b3fa027d8c730fac754e25351191176ad95a98ce Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期三, 26 三月 2025 14:52:49 +0800
Subject: [PATCH] qX

---
 src/views/system/tijian/index.vue         |   12 +++++++++++-
 src/views/reservation/resercopy/index.vue |   13 +++++++------
 src/views/sampling/sampling/index.vue     |    2 +-
 3 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue
index 1603441..b7d7fd0 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);
         // Message.warning(response.msg);
         // this.$modal.msgError(response.msg);
         // this.$modal.msgError("浜哄憳"+ response.data.list + "淇℃伅閿欒");
         const errorList = response.data.list.join(", ");
+        console.log(errorList)
         this.$confirm(`${errorList}`, `${response.msg}`, {
           confirmButtonText: "纭畾",
           cancelButtonText: "鍙栨秷",
@@ -907,10 +907,10 @@
           center: true,
           dangerouslyUseHTMLString: true,
         });
-      }
-      this.ListObj = response.data;
+      }else{
+        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 +918,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;
diff --git a/src/views/sampling/sampling/index.vue b/src/views/sampling/sampling/index.vue
index 925f7e6..6e2f651 100644
--- a/src/views/sampling/sampling/index.vue
+++ b/src/views/sampling/sampling/index.vue
@@ -105,7 +105,7 @@
       </div>
       <div style="width: 50%">
         <!-- v-if="this.rightTabShow" -->
-        <el-table v-loading="loading" :data="tableList" @selection-change="handleChange" :span-method="objectSpanMethod"
+        <el-table v-if="tableList.length > 0" v-loading="loading" :data="tableList" @selection-change="handleChange" :span-method="objectSpanMethod"
           ref="tab1" :row-class-name="tableRowClassName" border height="520px">
           <el-table-column type="selection" width="40" align="center" />
           <!--  :selectable="selectEnable" -->
diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index 3548068..f1d88a9 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -1780,7 +1780,12 @@
             if (this.form.reservationId != null) {
               if (this.form.groupingId) {
                 this.form.firmName = this.form.compName;
-                this.form.tjType = this.dict.type.dict_team[2].value;
+                this.dict.type.dict_team.forEach((item)=> {
+                  if(item.label == "鍥㈤槦"){
+                    this.form.tjType = item.value;
+                  }
+                })
+                // this.form.tjType = this.dict.type.dict_team[1].value;
                 this.CompanyList.forEach((item) => {
                   if (item.cnName == this.form.firmName) {
                     this.form.firmId = item.drugManufacturerId;
@@ -2334,6 +2339,11 @@
 
     Package() {
       this.activeNames = "first";
+      if (this.form.cusSex == "鐢�") {
+            this.form.cusSex = 0;
+          } else  if (this.form.cusSex == "濂�"){
+            _this.form.cusSex = 1;
+          }
       let cusSex = this.form.cusSex;
       this.datekey = Date.now();
       //鍏ㄩ儴濂楅

--
Gitblit v1.8.0