From 2e9370979f871bf47f6dc145c49d7bf32ffa4b51 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期一, 03 六月 2024 09:08:02 +0800 Subject: [PATCH] 完成光纤配置进行检验 --- src/components/do/b1-ins-order/fiberoptic-config.vue | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/components/do/b1-ins-order/fiberoptic-config.vue b/src/components/do/b1-ins-order/fiberoptic-config.vue index 98a4a92..359d6f1 100644 --- a/src/components/do/b1-ins-order/fiberoptic-config.vue +++ b/src/components/do/b1-ins-order/fiberoptic-config.vue @@ -546,19 +546,27 @@ }) }, rowClickFiber(row, column, event,type){ - if(type==0){ - let standard = this.miresStandards.find(a => a.id == this.miresStandard) - if(standard&&standard.code=='濮旀墭瑕佹眰'){ - this.isAskOnlyRead = false; + if(this.active===1){ + if(type==0){ + let standard = null; + try{ + standard = this.miresStandards.find(a => a.id == this.miresStandards) + }catch(e){} + if(standard&&standard.code=='濮旀墭瑕佹眰'){ + this.isAskOnlyRead = false; + }else{ + this.isAskOnlyRead = true; + } }else{ - this.isAskOnlyRead = true; - } - }else{ - let standard = this.mireStandards.find(a => a.id == this.mireStandard) - if(standard&&standard.code=='濮旀墭瑕佹眰'){ - this.isAskOnlyRead = false; - }else{ - this.isAskOnlyRead = true; + let standard = null; + try{ + standard = this.mireStandards.find(a => a.id == this.mireStandard) + }catch(e){} + if(standard&&standard.code=='濮旀墭瑕佹眰'){ + this.isAskOnlyRead = false; + }else{ + this.isAskOnlyRead = true; + } } } this.currentDetectionItems = row -- Gitblit v1.9.3