From 4f805c3b7c8d2f5c04282ea08e734b8b46f9cfc5 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 18 六月 2024 09:57:47 +0800
Subject: [PATCH] 检验下单-项目统计bug

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

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 2beb888..88a9a04 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -1285,7 +1285,6 @@
       },
       upProductSelect(selection, row) {
         row.state = row.state == 1 ? 0 : 1
-        this.getProNum()
         if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 1) {
           if (row.section.indexOf('[') > -1) {
             this.bsmRow = this.HaveJson(row)
@@ -1331,6 +1330,7 @@
           }
           return item
         })
+        this.getProNum()
       },
       permute(nums) {
         const result = [];
@@ -1561,7 +1561,6 @@
             return m
           })
         }
-        this.getProNum()
         this.bsmRow3 = [];
         this.productList.forEach(p => {
           if (p.bsm === '1' && p.section !== '' && p.section !== null && p.state === 1) {
@@ -1617,6 +1616,7 @@
             return item
           })
         }
+        this.getProNum()
         this.$nextTick(() => {
           this.$refs.productTable.doLayout()
         })

--
Gitblit v1.9.3