From 8c32980cde3f526553cf1bdf8c40a19d5e9f9a0b Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期六, 11 一月 2025 21:34:41 +0800
Subject: [PATCH] 1

---
 代码管理/淮安PDA/pages/stash/pickingMat.vue |   47 +++++++++++++++++++++++++++++++++++------------
 1 files changed, 35 insertions(+), 12 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/pickingMat.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/pickingMat.vue"
index bcc6231..6b4767c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/pickingMat.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/pickingMat.vue"
@@ -15,24 +15,22 @@
 						</uni-forms-item>
 					</uni-forms>
 					<uni-list>
-						<uni-list-item direction="column" v-for="item in matInfos" :key="item.sn">
+						<uni-list-item direction="column" v-for="item in matInfos" :key="item.palletCode">
 							<template v-slot:body>
-								<view class="uni-list-box">
 									<!-- <uni-icons type="trash" size="22" style="position: absolute;right: 5%;"
 										@click="deleteList(item.sn)">
 									</uni-icons> -->
 									<view class="uni-content">
-										<view class="uni-title-sub uni-ellipsis-2">鍗曟嵁缂栧彿锛歿{item.orderNo}}</view>
-										<view class="uni-note">鎵樼洏缂栧彿锛歿{item.palletCode}}</view>
-										<view class="uni-note">鐗╂枡鎵规锛歿{item.batchNo}}</view>
-										<view class="uni-note">鐗╂枡缂栫爜锛歿{item.materielCode}}</view>
-										<view class="uni-note">鐗╂枡鍚嶇О锛歿{item.materielName}}</view>
-										<view class="uni-note">鍗曟嵁鏁伴噺锛歿{item.orderQuantity}}</view>
-										<view class="uni-note">鍘熷搴撳瓨锛歿{item.originalQuantity}}</view>
-										<view class="uni-note">鍒嗛厤搴撳瓨锛歿{item.assignQuantity}}</view>
-										<view class="uni-note">鍓╀綑搴撳瓨锛歿{item.originalQuantity-item.assignQuantity}}</view>
+										<view>鍗曟嵁缂栧彿锛歿{item.orderNo}}</view>
+										<view>鎵樼洏缂栧彿锛歿{item.palletCode}}</view>
+										<view>鐗╂枡鎵规锛歿{item.batchNo}}</view>
+										<view>鐗╂枡缂栫爜锛歿{item.materielCode}}</view>
+										<view>鐗╂枡鍚嶇О锛歿{item.materielName}}</view>
+										<view>鍗曟嵁鏁伴噺锛歿{item.orderQuantity}}</view>
+										<view>鍘熷搴撳瓨锛歿{item.originalQuantity}}</view>
+										<view>鍒嗛厤搴撳瓨锛歿{item.assignQuantity}}</view>
+										<view>鍓╀綑搴撳瓨锛歿{item.originalQuantity-item.assignQuantity}}</view>
 									</view>
-								</view>
 							</template>
 						</uni-list-item>
 					</uni-list>
@@ -113,7 +111,11 @@
 		onLoad(res) {
 			this.barcodefocus = false;
 			this.warehouseId = res.warehouseId;
+			if (this.warehouseId == 5) {
+				this.address = "8005"
+			}
 			this.istrue = false;
+			this.addressFocus = false;
 		},
 		methods: {
 			onClickItem(e) {
@@ -185,6 +187,10 @@
 				}
 				this.$u.post('/api/OutStockLockInfo/MaterialPick?palletCode=' + this.barcode, {}).then(res => {
 					if (res.status) {
+						// if(this.warehouseId==5){
+						// 	this.Finish("8005");
+						// }
+
 						uni.$showMsg('鎷i�夋垚鍔�!')
 						this.barcode = "";
 						this.matInfos = [];
@@ -196,6 +202,23 @@
 					}
 				})
 			},
+			Finish(code) {
+				this.$u.post('http://127.0.0.1:9291/api/CTU_AGV/PutFinish?&code=' + code).then(
+					res => {
+						if (res.status) {
+							// this.$refs.uToast.show({
+							// 	title: "瀹屾垚鎴愬姛",
+							// 	type: "success"
+							// })
+							// this.barcode = "";
+						} else {
+							// this.$refs.uToast.show({
+							// 	title: res.message,
+							// 	type: "error"
+							// })
+						}
+					})
+			},
 			inputChange(e) {
 				this.$nextTick(() => {
 					this.istrue = false;

--
Gitblit v1.9.3