From 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 09 七月 2025 22:55:27 +0800
Subject: [PATCH] 增加质检出入库逻辑

---
 项目代码/芜湖三一PDA/pages/stash/inboundorderDetail.vue |   50 ++++++++++++++++++++++++++------------------------
 1 files changed, 26 insertions(+), 24 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorderDetail.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorderDetail.vue"
index 3123f9d..28c6949 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorderDetail.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorderDetail.vue"
@@ -6,12 +6,13 @@
 			</view>
 		</u-sticky> -->
 		<uni-list :border="true">
-			<uni-list-item direction="column" clickable @click="groupClick(item.batchNo)" link :to="page+item.batchNo"
+			<uni-list-item direction="column" clickable @click="groupClick(item.batchNo)" link
+				:to="page+item.batchNo+'&receiptQuantity='+item.receiptQuantity+'&orderQuantity='+item.orderQuantity"
 				v-for="item in allReceivingOrders" :key="item.batchNo">
 				<template v-slot:body>
 					<uni-group margin-top="20">
-						<view> 鎵瑰彿:{{orderNo}} </view>
-						<view> 鏌滃彿:{{item.batchNo}} </view>
+						<!-- <view> 鎵瑰彿:{{orderNo}} </view> -->
+						<view> 鎵瑰彿:{{item.batchNo}} </view>
 						<view> 鍗曟嵁鏁伴噺:{{item.orderQuantity}} </view>
 						<view> 缁勭洏鏁伴噺:{{item.receiptQuantity}} </view>
 						<view> 鍏ュ簱鏁伴噺:{{item.overInQuantity}} </view>
@@ -73,32 +74,33 @@
 				// 	},
 				// }
 				if (this.pageNo == 1) this.allReceivingOrders = [];
-				this.$u.post('/api/PDA/QueryOrderDetailInfo?pageNo=' + this.pageNo + '&orderNo=' + this.orderNo).then((res) => {
-					if (res.status) {
-						if (res.data.length > 0) {
-							if (this.searchValue == '') {
-								this.allReceivingOrders = this.allReceivingOrders.concat(res.data);
-								// this.allReceivingOrders = res.data;
-								if (this.allReceivingOrders.length > 3) {
-									this.loadVisible = true;
+				this.$u.post('/api/PDA/QueryOrderDetailInfo?pageNo=' + this.pageNo + '&orderNo=' + this.orderNo).then((
+					res) => {
+						if (res.status) {
+							if (res.data.length > 0) {
+								if (this.searchValue == '') {
+									this.allReceivingOrders = this.allReceivingOrders.concat(res.data);
+									// this.allReceivingOrders = res.data;
+									if (this.allReceivingOrders.length > 3) {
+										this.loadVisible = true;
+									} else {
+										this.loadVisible = false;
+									}
 								} else {
-									this.loadVisible = false;
+									this.allReceivingOrders = res.data;
+									if (this.allReceivingOrders.length > 3) {
+										this.loadVisible = true;
+									} else {
+										this.loadVisible = false;
+									}
 								}
 							} else {
-								this.allReceivingOrders = res.data;
-								if (this.allReceivingOrders.length > 3) {
-									this.loadVisible = true;
-								} else {
-									this.loadVisible = false;
-								}
+								this.status = 'noMore';
+								//this.allReceivingOrders = [];
+								this.loadVisible = true;
 							}
-						} else {
-							this.status = 'noMore';
-							//this.allReceivingOrders = [];
-							this.loadVisible = true;
 						}
-					}
-				})
+					})
 			}
 		}
 	}

--
Gitblit v1.9.3