From df049e333e04591d389db329b9af38d70c47f954 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 04 六月 2024 13:36:11 +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