From 4e81beaf39a525c1ecb86d50dd05438959af6e12 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 17 十月 2025 23:16:03 +0800
Subject: [PATCH] 优化PDA出库流程、盘点流程

---
 新建文件夹/PDA/pages/stash/outFinish.vue |   53 ++++++++++++++++++++++++++++-------------------------
 1 files changed, 28 insertions(+), 25 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Outorderboxing.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outFinish.vue"
similarity index 93%
rename from "\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Outorderboxing.vue"
rename to "\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outFinish.vue"
index 3f4d038..fad091a 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Outorderboxing.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outFinish.vue"
@@ -8,22 +8,22 @@
 					<uni-forms label-width="180">
 						<uni-forms-item :label="label">
 						</uni-forms-item>
-						<uni-forms-item :label="goods_no">
-						</uni-forms-item>
 						<uni-forms-item :label="batch_num">
 						</uni-forms-item>
-						<uni-forms-item :label="order_qty">
+						<uni-forms-item :label="goods_no">
 						</uni-forms-item>
 						<uni-forms-item :label="order_Inqty">
+						</uni-forms-item>
+						<uni-forms-item :label="order_qty">
 						</uni-forms-item>
 						<uni-forms-item label="搴撲綅缂栧彿:">
 							<uni-easyinput type="text" placeholder="璇锋壂鎻忓簱浣嶇紪鍙�" ref='midInput' :focus="!focus"
 								v-model="barcode" @confirm="barcodeInput" />
 						</uni-forms-item>
-						<uni-forms-item label="鍑哄簱鏁伴噺:">
+						<!-- <uni-forms-item label="鍑哄簱鏁伴噺:">
 							<uni-easyinput type="text" placeholder="璇疯緭鍏ュ嚭搴撴暟閲�" ref='midInput' :focus="focus"
 								v-model="materSn" @confirm="snInput" />
-						</uni-forms-item>
+						</uni-forms-item> -->
 
 						<uni-forms-item :label="Testlabel" v-if="Test">
 							<uni-easyinput type="text" :placeholder="Testplaceholder" ref='midInput'
@@ -132,6 +132,7 @@
 			return {
 				items: ['鍑哄簱'], //, '瑙g洏''缁勭洏', , '鍗曟嵁淇℃伅'
 				current: 0,
+				taskId:"",
 				matTotal: [],
 				matInfos: [],
 				orderNo: "",
@@ -174,16 +175,17 @@
 			this.focus = false;
 			this.addressFocus = false;
 			this.orderNo = res.orderNo;
+			this.taskId=res.taskId;
 			this.Inqty=res.order_Inqty;
 			this.orderqty=res.order_qty;
 			this.batchNo=res.batchNo;
 			this.warehouseId = res.warehouseId;
 			this.label = "鍗曟嵁缂栧彿锛�" + this.orderNo;
 			this.batch_num="鎵规鍙凤細"+res.batchNo;
-			this.order_qty="鍗曟嵁鏁伴噺锛�"+res.order_qty;
-			this.order_Inqty="宸插嚭搴撴暟閲忥細"+this.Inqty;
-			this.goods_no="鐗╂枡缂栧彿锛�"+res.goods_no;
-			this.getData();
+			this.order_qty="鍑哄簱鏁伴噺锛�"+res.stockQuantity;
+			this.order_Inqty="鐗╂枡鍚嶇О锛�"+res.materielName;
+			this.goods_no="鐗╂枡缂栧彿锛�"+res.materielCode;
+			// this.getData();
 		},
 		methods: {
 			// voiceSpeech(src) {
@@ -444,22 +446,23 @@
 					})
 					return;
 				}
-				if (this.materSn.length == 0) {
-					this.$refs.uToast.show({
-						title: "璇疯緭鍏ュ嚭搴撴暟閲�",
-						type: 'error'
-					})
-					return;
-				}
-				this.$u.post('/api/DeliveryOrder/FeedbackOut', {
+				// if (this.materSn.length == 0) {
+				// 	this.$refs.uToast.show({
+				// 		title: "璇疯緭鍏ュ嚭搴撴暟閲�",
+				// 		type: 'error'
+				// 	})
+				// 	return;
+				// }
+				this.$u.post('/api/DeliveryOrder/OutFinish', {
 					MainData: {
-						"LocationCode": this.barcode,
-						"warehouseCode": this.warehouseId,
-						"orderNo": this.orderNo,
-						"Inqty": this.materSn,
-						"batchNo": this.batchNo,
+						"locationCode": this.barcode,
+						"taskId":this.taskId,
+						// "warehouseCode": this.warehouseId,
+						// "orderNo": this.orderNo,
+						// "Inqty": this.materSn,
+						// "batchNo": this.batchNo,
 					},
-					DelKeys: this.sns
+					// DelKeys: this.sns
 				}).then(res => {
 					this.Testcheck = false;
 					if (res.status) {
@@ -468,9 +471,9 @@
 							type: "success"
 						})
 						this.Inqty=res.message;
-						this.order_Inqty="宸插嚭搴撴暟閲忥細"+this.Inqty;
+						// this.order_Inqty="宸插嚭搴撴暟閲忥細"+this.Inqty;
 						this.barcode="";
-						this.materSn="";
+						// this.materSn="";
 					} else {
 						this.$refs.uToast.show({
 							title: res.message,

--
Gitblit v1.9.3