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/CheckFinish.vue |   35 +++++++++++++++++++----------------
 1 files changed, 19 insertions(+), 16 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/PdOutorderboxing.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckFinish.vue"
similarity index 95%
rename from "\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/PdOutorderboxing.vue"
rename to "\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckFinish.vue"
index c2ee255..3275a7c 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/PdOutorderboxing.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckFinish.vue"
@@ -8,13 +8,13 @@
 					<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"
@@ -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) {
@@ -451,15 +453,16 @@
 					})
 					return;
 				}
-				this.$u.post('/api/DeliveryOrder/MatPicking', {
+				this.$u.post('/api/DeliveryOrder/CheckFinish', {
 					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,
+						"qty": 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