From 4f004573e398c7f5b3823e417766772f501c44fe Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 03 十月 2025 13:35:44 +0800
Subject: [PATCH] 1

---
 pages/AGV/AGVkongban.vue |   50 ++++++++++++++++++++++++++++++--------------------
 1 files changed, 30 insertions(+), 20 deletions(-)

diff --git a/pages/AGV/AGVkongban.vue b/pages/AGV/AGVkongban.vue
index 04a35ed..868dda5 100644
--- a/pages/AGV/AGVkongban.vue
+++ b/pages/AGV/AGVkongban.vue
@@ -1,26 +1,27 @@
 <template>
 	<view>
 		<view class="code">			
-			<view class="item">
+			<!-- <view class="item">
 				<view class="code-decs">绔欑偣:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="stationCode" :focus="stationCodeFocus"
 					>
-			</view>
+			</view> -->
 			<view class="item">
 			<view class="code-decs" style="width: 25vw;">澶у皬鎵樼洏:</view>
 			<radio-group @change="isFullPlt">
 				<label>
-					<radio :checked="ck1" style="transform: scale(0.7)"/><text>灏忔墭鐩�</text>
+					<radio :checked="ck1" style="transform: scale(0.7)"/><text>浣�</text>
 				</label>
 				<label>
-					<radio :checked="ck2" style="margin-left: 50rpx;transform: scale(0.7);"/><text>澶ф墭鐩�</text>
+					<radio :checked="ck2" style="margin-left: 50rpx;transform: scale(0.7);"/><text>涓�</text>
+				</label>
+				<label>
+					<radio :checked="ck3" style="margin-left: 50rpx;transform: scale(0.7);"/><text>楂�</text>
 				</label>
 			</radio-group>
 			</view>
 		</view>
-			
-		
-		
+
 		<view class="mat-list-title">
 			<view style="-webkit-flex: 1;flex: 1;"></view>
 		</view>
@@ -138,9 +139,10 @@
 				devNo: [],
 				staList:[],
 				sta:'',	
-				fullPlt: 'N',
+				fullPlt: '1',
 				ck1: true,
 				ck2: false,
+				ck3: false,
 			}
 		},
 		onLoad() {
@@ -152,24 +154,32 @@
 		methods: {
 			// 澶у皬鎵樼洏
 			isFullPlt() {
-				var temp = this.ck1
-				this.ck1 = this.ck2
-				this.ck2 = temp
 				if (this.ck1) {
 					this.fullPlt = '1'
-				} else {
+					this.ck1 =true
+					this.ck2 =false
+					this.ck3 =false
+				} else if(this.ck2){
 					this.fullPlt = '2'
+					this.ck1 =false
+					this.ck2 =true
+					this.ck3 =false
+				}else{
+					this.fullPlt = '3'
+					this.ck1 =false
+					this.ck2 =false
+					this.ck3 =true
 				}
 			},
 			stationCodeInput() {
 				let that = this;
 				that.staList = []
 				uni.request({
-					url: that.baseUrl + '/mobile/FillEmptyPallets?locNo='+that.stationCode+'&size='+that.fullPlt,
-					
+					url: that.baseUrl + '/mobile/empty/plate/out/start',
 					header: {
 						'token': uni.getStorageSync('token')
 					},					
+					
 					success(res) {
 						res = res.data
 						if (res.code === 200) {
@@ -457,13 +467,13 @@
 			},
 			comb() {				
 				let that = this;
-				if (that.stationCode === '') {
-					this.messageText = "璇锋壂鎻忕珯鐐�"
-					this.messageToggle('error')
-					return;
-				}
+				// if (that.stationCode === '') {
+				// 	this.messageText = "璇锋壂鎻忕珯鐐�"
+				// 	this.messageToggle('error')
+				// 	return;
+				// }
 				uni.request({
-					url: that.baseUrl + '/mobile/FillEmptyPallets?locNo='+that.stationCode+'&size='+that.fullPlt,				
+					url: that.baseUrl + '/mobile/empty/plate/out/start?type='+that.fullPlt,				
 					header: {
 						'token': uni.getStorageSync('token')
 					},

--
Gitblit v1.9.1