From 2ad931a09f80d02608101967a63e43212ebfa8f5 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 06 五月 2025 13:41:13 +0800
Subject: [PATCH] #物料组盘

---
 pages/listing/disc.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/pages/listing/disc.vue b/pages/listing/disc.vue
index c67d0a6..d2debba 100644
--- a/pages/listing/disc.vue
+++ b/pages/listing/disc.vue
@@ -133,10 +133,11 @@
 				container: '',
 				megreQty: '',
 				list: [],
-				range: [],
+				range: [],
 				batch: '',
 				repeatClick: false,
-				isconfirm: false
+				isconfirm: false,
+				
 			}
 		},
 		computed: {
@@ -163,12 +164,12 @@
 					code,
 					data,
 					msg
-				} = await request('/asnOrderItem/trackCode', {
-					code: this.barcode,
-					batch: this.batch
+				} = await request('/asnOrderItem/trackCode', {
+					code: this.barcode,
+					batch: this.batch
 				}, "post")
 				if (code === 200) {
-					data && this.list.push(data);
+					this.list = data
 				} else {
 					uni.showToast({
 						title: msg,
@@ -245,7 +246,7 @@
 					msg
 				} = await request('/waitPakin/merge', {
 					items: newArr,
-					barcode: this.container,
+					barcode: this.container,
 					batch: this.batch,
 				})
 				if (code === 200) {

--
Gitblit v1.9.1