From 94d565b9bc2d441972f203ace2423dc1fe156934 Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期二, 23 十二月 2025 13:44:55 +0800
Subject: [PATCH] WMS3.0,PDA端,平湖银座五期

---
 pages/AGV/StartInTask.vue |   47 ++++++++++++++++++++++++++++++++---------------
 1 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/pages/AGV/StartInTask.vue b/pages/AGV/StartInTask.vue
index d43db9e..f59316a 100644
--- a/pages/AGV/StartInTask.vue
+++ b/pages/AGV/StartInTask.vue
@@ -1,11 +1,19 @@
 <template>
 	<view class="has-foot">
 		<form>
-			<view class="cu-form-group ">
-				<view class="title">鎺ラ┏绔�</view>
-				<input placeholder="璇锋壂鎻忔帴椹崇珯鏉$爜" v-model="barcode" ></input>
+			<view class="cu-form-group margin-top">
+				<view class="title">鎺ラ┏绔欑偣</view>
+				<input placeholder="璇锋壂鎻忔帴椹崇珯鐐规潯鐮�" v-model="barcode" ></input>
+				<!-- <text class='cuIcon-search text-blue' @click="search"></text> -->
+			</view>	
+			<view class="cu-form-group">
+				<view class="title">瀹瑰櫒鍙�</view>
+				<input placeholder="璇锋壂鎻忓鍣ㄧ紪鐮�" v-model="barcode" ></input>
 				<text class='cuIcon-search text-blue' @click="search"></text>
 			</view>	
+<!-- 			<view class="flex solid-bottom padding-sm justify-between">
+				<view class="text-blue margin-left">瀹瑰櫒鐮�:{{container}}</view>				
+			</view> -->
 			<view class="cu-form-group">
 				<view class="title">鐩爣搴撳尯</view>
 				<view style="width: 75%;">
@@ -14,11 +22,6 @@
 				</view>
 			</view>
 		</form>
-		<view class="flex solid-bottom padding-sm justify-between">
-			<view class="text-blue">瀹瑰櫒鐮�:{{container}}</view>
-			
-		</view>
-
 
 
 		<view class="cu-list det menu sm-border  padding">
@@ -70,7 +73,7 @@
 
 		<view class="cu-bar btn-group foot">
 			<button class="cu-btn text-blue line-blue shadow" @click="clear">娓呯┖</button>
-			<button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm">鍚姩</button>
+			<button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm">鍏ュ簱</button>
 		</view>
 
 		
@@ -106,7 +109,10 @@
 		computed: {
 			...mapState('user', ['dynamicFields']),
 		},
-		mounted() {},
+		mounted() {
+			this.getRece()
+			this.whAreaId = uni.getStorageSync('whAreaId')
+		},
 		methods: {	
 			selChange(val) {
 				uni.setStorageSync('whAreaId', val)
@@ -166,7 +172,7 @@
 			async confirm() {				
 				if(this.barcode === '' || this.barcode ===null){
 					uni.showToast({
-						title: "鎺ラ┏绔欑爜涓嶈兘涓虹┖",
+						title: "鎺ラ┏绔欑偣涓嶈兘涓虹┖",
 						icon: "none",
 					})
 					return ;
@@ -177,7 +183,7 @@
 						icon: "none",
 					})
 					return ;
-				}
+				} 
 				this.repeatClick = true
 				const {
 					code,
@@ -200,10 +206,21 @@
 					})
 				}
 				this.repeatClick = false
-
-
 			},
-
+			
+			async getRece() {				
+				const {
+					code,
+					data,
+					msg
+				} = await request('/areas/receipt', {}, 'get')
+				if (code === 200) {
+					this.range = data.map(item => ({
+						value: item.id,
+						text: item.warehouseId$ + "-- " + item.name
+					}));
+				}
+			},
 		}
 	}
 </script>

--
Gitblit v1.9.1