From 71cdf662247ec0092f02c2d7c20cef01726416ad Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期三, 11 十二月 2024 15:25:01 +0800
Subject: [PATCH] 总检

---
 src/views/sampling/sampling/index.vue |   32 +++++++++++++++++---------------
 1 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/src/views/sampling/sampling/index.vue b/src/views/sampling/sampling/index.vue
index 7fe2876..b2dfe67 100644
--- a/src/views/sampling/sampling/index.vue
+++ b/src/views/sampling/sampling/index.vue
@@ -111,7 +111,12 @@
         <el-button type="primary" :disabled="!disabled" @click="Cancellation"
           >鎾ら攢鍚堝苟</el-button
         >
-        <el-button type="primary" @click="Confirmreceipt" :disabled="!selectList.length">閲囨牱鎵撶爜</el-button>
+        <el-button
+          type="primary"
+          @click="Confirmreceipt"
+          :disabled="!selectList.length"
+          >閲囨牱鎵撶爜</el-button
+        >
       </el-col>
       <el-col
         :span="12"
@@ -189,6 +194,7 @@
         </el-table>
       </div>
       <div style="width: 50%">
+        <!-- v-if="this.rightTabShow" -->
         <el-table
           v-loading="loading"
           :data="tableList"
@@ -453,12 +459,14 @@
       form: {},
       // 琛ㄥ崟鏍¢獙
       rules: {},
+      // rightTabShow: false
     };
   },
   created() {
     // this.getNowTime();
     getTxmmccd().then((res) => {
       this.msg = Number(res.msg);
+      console.log(res, 444);
     });
     this.getdate();
   },
@@ -466,7 +474,6 @@
     this.$nextTick(() => {
       this.$refs.inputName.focus();
     });
-
   },
   computed: {
     disabled() {
@@ -594,8 +601,9 @@
             this.$nextTick(() => {
               this.$refs.tb.toggleRowSelection(this.samplingList[0], true);
               // this.fetchData(this.samplingList[0].tjNumber);
+              // ddddddddddddddd
+              // this.rightTabShow = true
             });
-       
           }
           this.total = response.data.total;
           this.loading1 = false;
@@ -834,6 +842,7 @@
               height: 50,
               displayValue: false,
             });
+            
           } else {
             console.log(`鏉″舰鐮佸唴瀹规棤鏁�: ${barcodeContent}`); // 璋冭瘯杈撳嚭
           }
@@ -914,11 +923,11 @@
               }
               .last p {
               // font-weight: bold;
-                margin-left: 10px; 
+                margin-left: 1px; 
                 // font-family: "Arial Black", sans-serif !important; 
               }
                 p {
-                margin-left: 10px; 
+                margin-left: 1px; 
                 // font-weight: bold;
                 // font-family: "Arial Black", sans-serif !important;  
               }
@@ -931,7 +940,7 @@
                  font-family: "Arial Black", sans-serif !important; 
               }
               .tj span {
-                margin-left: 10px;
+                margin-left: 1px;
               }
             }
           </style>
@@ -959,18 +968,11 @@
     handleChange(selection) {
       // console.log(selection);
 
-      // this.selectList = selection;
+      this.selectList = selection;
       // console.log(this.selectList, 5555);
       var array = selection;
 
       this.ids = array.map((item) => item.id);
-    },
-    selectAllRows() {
-      this.$nextTick(() => {
-        if (this.$refs.tab1) {
-          this.$refs.tab1.toggleAllSelection();
-        }
-      });
     },
 
     // 绂侀��
@@ -987,7 +989,7 @@
 
     // 纭閲囨牱
     Confirmreceipt() {
-      let data = this.ids;
+      // let data = this.ids;
       console.log(this.ids, 999);
 
       const loadingInstance = this.$loading({

--
Gitblit v1.8.0