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/CheckoutorderDetail.vue |   41 ++++++++++++++++++++++-------------------
 1 files changed, 22 insertions(+), 19 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/PdoutboundorderDetail.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckoutorderDetail.vue"
similarity index 77%
rename from "\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/PdoutboundorderDetail.vue"
rename to "\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckoutorderDetail.vue"
index 7e18cda..b1db7ea 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/PdoutboundorderDetail.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckoutorderDetail.vue"
@@ -1,21 +1,22 @@
 <template>
 	<view>
-		<!-- <u-sticky>
+		<u-sticky>
 			<view style="background-color: #ffffff;">
 				<uni-search-bar @confirm="search" v-model="searchValue"></uni-search-bar>
 			</view>
-		</u-sticky> -->
+		</u-sticky>
 		<uni-list :border="true">
-			<uni-list-item direction="column" clickable @click="groupClick(item.batch_num)" link
-				:to="page+item.batch_num+'&order_qty='+item.order_qty+'&order_Inqty='+item.order_Outqty+'&goods_no='+item.goods_no"
-				v-for="item in allReceivingOrders" :key="item.batch_num">
+			<uni-list-item direction="column" clickable @click="groupClick(item.locationCode)" link
+				:to="page+item.locationCode+'&stockQuantity='+item.stockQuantity+'&taskId='+item.taskId+'&materielCode='+item.materielCode+'&batchNo='+item.batchNo+'&materielName='+item.materielName"
+				v-for="item in allReceivingOrders" :key="item.locationCode">
 				<template v-slot:body>
 					<uni-group margin-top="20">
 						<view> 鍗曟嵁缂栧彿:{{orderNo}} </view>
-						<view> 鎵瑰彿:{{item.batch_num}} </view>
-						<view> 鐗╂枡缂栧彿:{{item.goods_no}} </view>
-						<view> 璐﹂潰鏁伴噺:{{item.order_qty}} </view>
-						<view> 瀹炵洏鏁伴噺:{{item.order_Outqty}} </view>
+						<view> 鎵瑰彿:{{item.batchNo}} </view>
+						<view> 鐗╂枡缂栧彿:{{item.materielCode}} </view>
+						<!-- <view> 鐗╂枡鍚嶇О:{{item.materielName}} </view> -->
+						<view> 璐т綅缂栧彿:{{item.locationCode}} </view>
+						<view> 璐﹂潰鏁伴噺:{{item.stockQuantity}} </view>
 					</uni-group>
 				</template>
 			</uni-list-item>
@@ -31,7 +32,7 @@
 	export default {
 		data() {
 			return {
-				page: "/pages/stash/PdOutorderboxing?",
+				page: "/pages/stash/CheckFinish?",
 				loadVisible: false,
 				searchValue: "",
 				status: "more",
@@ -46,7 +47,7 @@
 			this.warehouseId = res.warehouseId;
 			this.orderNo = res.orderNo;
 			this.allReceivingOrders=res.detail;
-			this.page = this.page + "orderNo=" + this.orderNo +"&warehouseId=" + this.warehouseId + "&batchNo=";
+			this.page = this.page + "orderNo=" + this.orderNo +"&warehouseId=" + this.warehouseId + "&locationCode=";
 			this.getData();
 		},
 		onReachBottom() {
@@ -65,15 +66,17 @@
 
 			},
 			getData() {
-				// var postData = {
-				// 	MainData: {
-				// 		warehouseId: this.warehouseId,
-				// 		orderNo: this.searchValue,
-				// 		pageNo: this.pageNo
-				// 	},
-				// }
+				var postData = {
+					MainData: {
+						warehouseId: this.warehouseId,
+						locationCode: this.searchValue,
+						orderNo: this.orderNo,
+						pageNo: this.pageNo,
+						isCheck:true,
+					},
+				}
 				if (this.pageNo == 1) this.allReceivingOrders = [];
-				this.$u.post('/api/DeliveryOrder/GetDeliveryOrderDetail?pageNo=' + this.warehouseId + '&orderNo=' + this.orderNo+'&isPick=true').then((
+				this.$u.post('/api/DeliveryOrder/GetCheckOutTasks',postData).then((
 					res) => {
 						if (res.status) {
 							if (res.data.length > 0) {

--
Gitblit v1.9.3