From c733b4fc98e348f4f60f71a291c3acfa6d7d4ce9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 24 四月 2025 10:38:59 +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