From 5e4b8e610be4a6e42c07c0104c95f5fe697d5412 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期一, 12 一月 2026 14:36:35 +0800
Subject: [PATCH] #
---
pages/AGV/StartInTask.vue | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/pages/AGV/StartInTask.vue b/pages/AGV/StartInTask.vue
index ebef7c2..7aa5ea7 100644
--- a/pages/AGV/StartInTask.vue
+++ b/pages/AGV/StartInTask.vue
@@ -3,7 +3,7 @@
<form>
<view class="cu-form-group margin-top">
<view class="title">鎺ラ┏绔欑偣</view>
- <input placeholder="璇锋壂鎻忔帴椹崇珯鐐规潯鐮�" v-model="barcode" ></input>
+ <input placeholder="璇锋壂鎻忔帴椹崇珯鐐规潯鐮�" v-model="agvStation" ></input>
<!-- <text class='cuIcon-search text-blue' @click="search"></text> -->
</view>
<view class="cu-form-group">
@@ -103,7 +103,8 @@
curCode: '',
whAreaId:'',
repeatClick: false,
- buttonPermissions: [] // 鎸夐挳鏉冮檺鍒楄〃
+ buttonPermissions: [] ,// 鎸夐挳鏉冮檺鍒楄〃
+ agvStation:''
}
},
@@ -178,13 +179,20 @@
},
async confirm() {
- if(this.barcode === '' || this.barcode ===null){
+ if(this.agvStation === '' || this.agvStation ===null){
uni.showToast({
title: "鎺ラ┏绔欑偣涓嶈兘涓虹┖",
icon: "none",
})
return ;
}
+ if(this.barcode === '' || this.barcode ===null){
+ uni.showToast({
+ title: "瀹瑰櫒鍙蜂笉鑳戒负绌�",
+ icon: "none",
+ })
+ return ;
+ }
if(this.whAreaId === '' || this.whAreaId ===null){
uni.showToast({
title: "鐩爣搴撳尯涓嶈兘涓虹┖",
--
Gitblit v1.9.1