From 16d8657379d1f64c271ce681b800b6a8bd9cb131 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期一, 01 七月 2024 16:34:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/components/do/b1-ins-order/add.vue |   45 ++++++++++++++++++++++++++++++++++++---------
 1 files changed, 36 insertions(+), 9 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 8c77e2a..e25d25d 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -734,6 +734,28 @@
         </el-row>
       </span>
     </el-dialog>
+    <el-dialog title="娓╁害寰幆瑕佹眰濉啓" :visible.sync="circulateShow" width="800px" :show-close="false">
+      <div class="search" style="display: flex;background: transparent;">
+        <div class="search_thing">
+          <div class="search_label">淇濇俯鏃堕棿锛�</div>
+          <div class="search_input">
+            <el-input v-model="circulateForm.entrustCode" size="small" placeholder=""></el-input>
+          </div>
+        </div>
+        <div class="search_thing">
+          <div class="search_label">寰幆娆℃暟锛�</div>
+          <div class="search_input">
+            <el-input v-model="circulateForm.entrustCode" size="small" placeholder=""></el-input>
+          </div>
+        </div>
+        <div class="search_thing">
+          <div class="search_label">娓╁害鐐癸細</div>
+          <div class="search_input">
+            <el-input v-model="circulateForm.entrustCode" size="small" placeholder=""></el-input>
+          </div>
+        </div>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -903,6 +925,8 @@
         inspectionItem:null,
         inspectionItemSubclass:null,
         methodS:null,
+        circulateShow:false,
+        circulateForm:{}
       }
     },
     watch: {
@@ -1613,7 +1637,6 @@
         this.$refs.productTable.toggleRowSelection(row, true);
       },
       upProductSelect(selection, row) {
-        console.log('danxuan', row)
         this.bsm1DiaList = []
         row.state = row.state == 1 ? 0 : 1
         if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 1) {
@@ -1626,17 +1649,17 @@
         } else if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 0) {
           row.bsm1 = false
         }
-        if (row.bsm === '1' && row.inspectionItem === '鐔旀帴鎹熻��' && this.sampleList.length > 1 && row.state === 1) {
-          this.bsm2 = true
-          this.bsm1Dia = true
+        if (row.bsm === '1' && row.inspectionItem === '鍏夌氦鎺ュご鎹熻��' && this.sampleList.length > 1 && row.state === 1) {
           if (this.bsm2Val2.length === 0) {
             this.bsm2Val = (this.sampleList.length - 1) * this.sampleList.length / 2
             this.computationalPairing(this.sampleList.length)
             this.bsm2Val2 = this.HaveJson(this.bsm2Val3)
+            this.bsm2 = true
+            this.bsm1Dia = true
           }
-        } else if (row.bsm === '1' && row.inspectionItem === '鐔旀帴鎹熻��' && row.state === 1 && this.sampleList.length > 1) {
+        } else if (row.bsm === '1' && row.inspectionItem === '鍏夌氦鎺ュご鎹熻��' && row.state === 1 && this.sampleList.length > 1) {
           this.bsm2 = false
-        } else if (row.bsm === '1' && row.inspectionItem === '鐔旀帴鎹熻��' && this.sampleList.length < 2) {
+        } else if (row.bsm === '1' && row.inspectionItem === '鍏夌氦鎺ュご鎹熻��' && this.sampleList.length < 2) {
           this.$message.error('鏍峰搧鏁伴噺涓嶈冻澶熻繘琛岄厤瀵规搷浣�')
           row.state = row.state == 1 ? 0 : 1
           this.$refs.productTable.toggleRowSelection(row, false)
@@ -1662,6 +1685,10 @@
           }
           return item
         })
+        if (row.inspectionItem === '娓╁害寰幆') {
+          this.circulateShow = true;
+          return
+        }
         this.getProNum()
       },
       permute(nums) {
@@ -1909,7 +1936,7 @@
           } else if (p.bsm === '1' && p.section !== '' && p.section !== null && p.state === 0) {
             p.bsm1 = false
           }
-          if (p.bsm === '1' && p.inspectionItem === '鐔旀帴鎹熻��' && this.sampleList.length > 1 && p.state === 1) {
+          if (p.bsm === '1' && p.inspectionItem === '鍏夌氦鎺ュご鎹熻��' && this.sampleList.length > 1 && p.state === 1) {
             this.bsm2 = true
             this.bsm1Dia = true
             if (this.bsm2Val2.length === 0) {
@@ -1917,9 +1944,9 @@
               this.computationalPairing(this.sampleList.length)
               this.bsm2Val2 = this.HaveJson(this.bsm2Val3)
             }
-          } else if (p.bsm === '1' && p.inspectionItem === '鐔旀帴鎹熻��' && p.state === 1 && this.sampleList.length > 1) {
+          } else if (p.bsm === '1' && p.inspectionItem === '鍏夌氦鎺ュご鎹熻��' && p.state === 1 && this.sampleList.length > 1) {
             this.bsm2 = false
-          } else if (p.bsm === '1' && p.inspectionItem === '鐔旀帴鎹熻��' && this.sampleList.length < 2) {
+          } else if (p.bsm === '1' && p.inspectionItem === '鍏夌氦鎺ュご鎹熻��' && this.sampleList.length < 2) {
             this.$message.error('鏍峰搧鏁伴噺涓嶈冻澶熻繘琛岄厤瀵规搷浣�')
             this.$refs.productTable.clearSelection()
             return

--
Gitblit v1.9.3