From a6c14c75e5a5f677c2a3571cad426d50cb106e3d Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 09 八月 2024 09:02:59 +0800
Subject: [PATCH] 修改检验任务、下单bug

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

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 033ba53..b06da57 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -1592,10 +1592,8 @@
             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)
@@ -2960,9 +2958,8 @@
       getTotal() {
         this.totalArr = []
         this.total = 0;
-        // console.log(this.sampleList)
         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