From 70b0536fd16503148d212bf323e68b09e61c3e04 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 23 十月 2024 10:27:08 +0800
Subject: [PATCH] 修改样品班次

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

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index daa5066..42a7626 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -2657,7 +2657,8 @@
         if(row.section === null) {
           row.section = ""
         }
-        let arr = this.productList.filter(m=>m.state==1&&row.section.includes(m.section)&&m.ask&&m.section.indexOf('[')==-1)
+        // console.log(row,this.productList)
+        let arr = this.productList.filter(m=>m.state==1&&m.bsmRow&&m.bsmRow.section==row.section&&row.section.includes(m.section)&&m.ask&&m.section.indexOf('[')==-1)
         if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 1&&arr.length==0) {
           if (row.section.indexOf('[') > -1) {
             row.bsmRow = this.HaveJson(row)

--
Gitblit v1.9.3