From 21cd52c5592aad3687be74599a932012d9dd77a4 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 15 四月 2025 10:03:38 +0800
Subject: [PATCH] 条码上传冠宏

---
 代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/正极叫料.vue |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\346\255\243\346\236\201\345\217\253\346\226\231.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\346\255\243\346\236\201\345\217\253\346\226\231.vue"
index 4dcadc0..d0a7e9f 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\346\255\243\346\236\201\345\217\253\346\226\231.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\346\255\243\346\236\201\345\217\253\346\226\231.vue"
@@ -101,7 +101,7 @@
 							size: this.size
 						};
 						// 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛
-						this.$u.post(res.data.CZFJiP + '/api/PDA/AGVPage', null).then(res => {
+						this.$u.post(res.data.CZFJiP + '/makerwit/selectKHWareType', null).then(res => {
 							console.log(res);
 							this.$t.message.closeLoading();
 							cb && cb();
@@ -120,6 +120,7 @@
 					},
 				});
 			},
+
 			clickLoadMore(e) {
 				this.status = 'loading';
 				this.current += 1;
@@ -151,21 +152,29 @@
 					this.$t.message.toast('鍙彨鏁伴噺涓�0锛屾棤娉曞彨浠诲姟');
 					return;
 				}
+				let guid = this.generateUUID()
 				let formDataParam = {
-					dTaskId: this.generateUUID(),
+					dTaskId: guid,
 					productCode: productCode,
 					orderNo: orderNo,
+					taskNo: 2,
 					number: availableQuantity > 4 ? 4 : availableQuantity,
 					inputValue: inputValue,
+					DTaskId: guid,
+					ProductCode: productCode,
+					OrderNo: orderNo,
+					Number: availableQuantity > 4 ? 4 : availableQuantity,
+					InputValue: inputValue,
+					TaskType: "姝f瀬"
 					// ...鍏朵粬闇�瑕佷紶閫掔殑鍙傛暟
 				};
 				this.$u.post('/api/PDA/AddCZTask', formDataParam).then(res => {
 					if (res.status) {
 						const value = uni.getStorageSync('storage_key_ipAddress');
 						// 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛
-						this.$u.post(value.CZZJip + '/api/PDA/insertTask', formDataParam).then(res => {
+						this.$u.post(value.CZZJip + '/makerwit/insertTask', formDataParam).then(res => {
 							this.$t.message.closeLoading();
-									if (res.code == 200) {
+							if (res.code == 200) {
 								this.$t.message.toast('鍛煎彨鎴愬姛');
 								this.$refs.popup.close();
 								// this.submit();

--
Gitblit v1.9.3