From 0f8aca36a23b098e40d94c5f0207b1cb5e409fa9 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 19 六月 2024 14:30:29 +0800
Subject: [PATCH] 修改检验任务bug

---
 src/components/do/b1-ins-order/fiberoptic-config.vue |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/src/components/do/b1-ins-order/fiberoptic-config.vue b/src/components/do/b1-ins-order/fiberoptic-config.vue
index c69bb70..11e71cd 100644
--- a/src/components/do/b1-ins-order/fiberoptic-config.vue
+++ b/src/components/do/b1-ins-order/fiberoptic-config.vue
@@ -104,11 +104,11 @@
         </el-col>
       </el-row>
       <el-row :gutter="10">
-        <el-col :span="12">
+        <el-col :span="12" v-if="packageInfo.ismiers">
           <div class="grid-content">
             <h5>鍏夌氦甯�
               <el-button size="mini" type="primary" class="btns" @click="addFibers"
-                :disabled="packageInfo.ismiers===false||miresModel===null||miresStandard===null" v-if="active==1">鐢熸垚鍏夌氦甯�</el-button>
+                :disabled="miresModel===null||miresStandard===null" v-if="active==1">鐢熸垚鍏夌氦甯�</el-button>
               <el-button size="mini" class="btns" @click="clearFibers" :disabled="selectBushing.length === 0" v-if="active==1">娓呴櫎</el-button>
             </h5>
             <div
@@ -150,7 +150,7 @@
             </el-table>
           </div>
         </el-col>
-        <el-col :span="12">
+        <el-col :span="!packageInfo.ismiers?24:12">
           <div class="grid-content">
             <h5>鍏夌氦<el-button size="mini" type="primary" class="btns" @click="addFiber"
                 :disabled="mireModel===null||mireStandard===null" v-if="active==1">鍏夌氦閰嶈壊</el-button></h5>
@@ -501,8 +501,8 @@
           this.miresModels = []
           res.data.forEach(a => {
             this.miresModels.push({
-              label: a.sample,
-              value: a.sample
+              label: a.model,
+              value: a.model
             })
           })
         })
@@ -765,12 +765,12 @@
               this.bsm2 = false
             }
           }
-          if (p.ask.includes('RTS')&&p.state === 1) {
-            p.rts = ''
-            this.bsm3Val = ''
-            this.bsm3Dia = true
-            this.bsmRow3.push(p)
-          }
+          // if (p.ask.includes('RTS')&&p.state === 1) {
+          //   p.rts = ''
+          //   this.bsm3Val = ''
+          //   this.bsm3Dia = true
+          //   this.bsmRow3.push(p)
+          // }
         })
 
         if (e.length > 0) {
@@ -842,15 +842,15 @@
         }else{
           this.bsm1Dia = false
         }
-        if (row.ask.includes('RTS')&&row.state === 1) {
-          this.bsmRow3 = null;
-          row.rts = ''
-          this.bsm3Val = ''
-          this.bsm3Dia = true
-          this.bsmRow3 = row
-        }else{
-          this.bsm3Dia = false
-        }
+        // if (row.ask.includes('RTS')&&row.state === 1) {
+        //   this.bsmRow3 = null;
+        //   row.rts = ''
+        //   this.bsm3Val = ''
+        //   this.bsm3Dia = true
+        //   this.bsmRow3 = row
+        // }else{
+        //   this.bsm3Dia = false
+        // }
       },
       computationalPairing(n){
         const nums = [];

--
Gitblit v1.9.3