From 185f48c0ff3712937cf211dcaa72d6ddccc996fa Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 06 八月 2024 11:38:41 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before --- src/components/do/b1-ins-order/add.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index b60ee13..3557a4d 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -1572,10 +1572,19 @@ isHaveBushing = false } }) + console.log('isHaveBushing===', this.totalArr) + // inspectionItem + let spcialItem = this.totalArr.find(a => a.state == 1 && a.inspectionItem.includes('鏉惧绠�')) // console.log('isHaveBushing===', isHaveBushing) if (productListSelected && select[2] === '鍏夌紗' && isHaveBushing === false) { this.$message.error('鍏夌紗娓╁害寰幆椤圭洰蹇呴』杩涜鍏夌氦閰嶇疆') - + this.$refs.sampleTable.setCurrentRow(this.currentMethod, true) + this.rowClick(this.currentMethod) + this.sampleIds = [this.currentMethod.id] + this.openConfig() + return + }else if(spcialItem&& isHaveBushing === false){ + this.$message.error('鏉惧绠¢」鐩繀椤昏繘琛屽厜绾ら厤缃�') this.$refs.sampleTable.setCurrentRow(this.currentMethod, true) this.rowClick(this.currentMethod) this.sampleIds = [this.currentMethod.id] @@ -1821,7 +1830,6 @@ }, saveMethod(sampleList){ this.saveLoad = true - console.log(333333,sampleList) this.$axios.post(this.$api.insOrder.addInsOrder, { str: JSON.stringify({ insOrder: this.addObj, -- Gitblit v1.9.3