From 3a05fd672f3cf6fcd847e28d93ad3e3b9c01fea2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 16 四月 2025 15:58:32 +0800
Subject: [PATCH] 网络分析仪

---
 src/views/business/materialOrder/customsInspection.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue
index 538acdd..5c0657e 100644
--- a/src/views/business/materialOrder/customsInspection.vue
+++ b/src/views/business/materialOrder/customsInspection.vue
@@ -753,7 +753,6 @@
             this.$set(this.addObj, 'workShopName', res.data.workShopName)
             this.$set(this.addObj, 'workShopId', res.data.workShopId)
             this.$set(this.addObj, 'inspectionType', this.customsInspection.inspectionType)
-            console.log(111111, this.addObj)
             if (this.orderType == 1) {
               this.$set(this.addObj, 'orderType', 'Quarterly inspection')
             }
@@ -1560,7 +1559,7 @@
     },
     // 閫夋嫨妫�楠屾爣鍑嗗洖璋�
     methodChange(val, row) {
-      if (val === null || val === '') return
+      if (!val || val.length < 1) return
       if (this.sampleList.length > 1) {
         // 鏈変袱鏉℃牱鍝佹椂锛岀浜屾潯鏍峰搧淇℃伅鍜岀涓�鏉′繚鎸佷竴鑷�
         this.sampleList.forEach(item => {
@@ -1589,11 +1588,13 @@
         this.getProductLoad = false
         // 鐩存帴灏嗘煡璇㈢粨鏋滆祴鍊肩粰 productList
         // this.fullProductList = res.data
-        this.productList = res.data.forEach(m => {
+        this.productList = res.data.map(m => {
           m.state = 1
+          return m
         })
-        this.productList0 = res.data.forEach(m => {
+        this.productList0 = res.data.map(m => {
           m.state = 1
+          return m
         })
         this.$refs.sampleTable.setCurrentRow(row)
         setTimeout(() => {

--
Gitblit v1.9.3