From 14b15cb429be4c2cf9d7372afcd3bf1e6c53d6af Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期一, 12 八月 2024 13:29:41 +0800
Subject: [PATCH] 	modified:   src/components/do/b1-ins-order/fiberoptic-config.vue

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

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index cc478e4..5f0baee 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -759,7 +759,7 @@
                width="800px" :show-close="false">
       <el-table
       :data="editTable"
-      style="width: 100%">
+      style="width: 100%" height="80vh">
       <!-- inspectionItemList -->
       <el-table-column
           prop="inspectionItemList"
@@ -906,6 +906,7 @@
 <script>
 import ValueTable from '../../tool/value-table.vue'
 import fiberOpticConfig from './fiberoptic-config.vue'
+import fiberOpticConfigTwo from './fiberoptic-config-two.vue'
 import equipConfig from './equip-config.vue'
 import cableConfig from './cable-config.vue'
 import Vue from 'vue'
@@ -915,10 +916,15 @@
     components: {
       ValueTable,
       fiberOpticConfig,
+      fiberOpticConfigTwo,
       equipConfig,
       cableConfig
     },
     props: {
+      examine: {
+        type: Number,
+        default: () => 0
+      },
       active: {
         type: Number,
         default: () => 0
@@ -1178,12 +1184,11 @@
       inputValueHandler(row,index){
         if(row){
           const nextIndex = index+1
+          console.log(nextIndex, this.editTable)
           for (let i = nextIndex; i < this.editTable.length; i++) {
             const element = this.editTable[i];
-            if(element.model==row.model){
+            if(element.model==row.model&&row.symbolItem==element.symbolItem){
               this.editTable[i].value = row.value
-            }else{
-              break;
             }
           }
         }
@@ -1593,10 +1598,9 @@
               return
             }
           }
-          console.log('isHaveBushing===', this.totalArr)
-          // inspectionItem
-          let spcialItem = null//this.totalArr.find(a => a.state == 1 && a.inspectionItem.includes('鏉惧绠�'))
-          // console.log('isHaveBushing===', isHaveBushing)
+
+          // console.log('isHaveBushing===', this.totalArr)
+          let spcialItem = this.totalArr.find(a => a.state == 1 && a.inspectionItem.includes('鏉惧绠�'))
           if (productListSelected && select[2] === '鍏夌紗' && isHaveBushing === false) {
             this.$message.error('鍏夌紗娓╁害寰幆椤圭洰蹇呴』杩涜鍏夌氦閰嶇疆')
             this.$refs.sampleTable.setCurrentRow(this.currentMethod, true)
@@ -2996,7 +3000,7 @@
         this.totalArr = []
         this.total = 0;
         this.sampleList.forEach(item => {
-          if (item.insProduct  && item.insProduct.length > 0) {
+          if (item.insProduct && item.insProduct.length > 0) {
             item.insProduct.forEach(a => {
               this.totalArr.push(a)
             })

--
Gitblit v1.9.3