From 4a01b5f1b111885aa0cadf3d5f96fee78413be16 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 26 九月 2025 15:09:29 +0800
Subject: [PATCH] 1
---
pages/AGV/AGVStart.vue | 31 +++----------------------------
1 files changed, 3 insertions(+), 28 deletions(-)
diff --git a/pages/AGV/AGVStart.vue b/pages/AGV/AGVStart.vue
index d9202b1..a6a57ae 100644
--- a/pages/AGV/AGVStart.vue
+++ b/pages/AGV/AGVStart.vue
@@ -3,12 +3,11 @@
<view class="code">
<view class="item">
<view class="code-decs">婧愮珯鐐�:</view>
- <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="stationCode" :focus="stationCodeFocus"
- @input="stationCodeInput()" >
+ <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="stationCode" :focus="stationCodeFocus">
</view>
<view class="item">
<view class="code-decs">鐩爣绔�:</view>
- <uni-combox :candidates="staList" placeholder="璇烽�夋嫨绔欑偣" v-model="sta"></uni-combox>
+ <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="sta" :focus="stationCodeFocus">
</view>
</view>
@@ -138,30 +137,6 @@
this.token = uni.getStorageSync('token');
},
methods: {
- stationCodeInput() {
- let that = this;
- that.staList = []
- uni.request({
- url: that.baseUrl + '/mobile/AGVSite?locNo='+that.stationCode,
-
- header: {
- 'token': uni.getStorageSync('token')
- },
- success(res) {
- res = res.data
- if (res.code === 200) {
- let list = []
- Object.entries(res.data).forEach((value, key) => {
- list.push(value[1])
- });
- that.staList = list
- }else{
- that.messageText = res.msg
- that.messageToggle('error')
- }
- }
- });
- },
pushDevNo() {
var devNo = {"devNo":this.stationCode}
if (this.dataList.length == 0) {
@@ -442,7 +417,7 @@
let newSta = that.sta.split("-")
uni.request({
- url: that.baseUrl + '/mobile/AGVMove?sourceStaNo='+that.stationCode+'&staNo='+newSta[0],
+ url: that.baseUrl + '/mobile/SITESITEAGVMove?sourceStaNo='+that.stationCode+'&staNo='+newSta[0],
header: {
'token': uni.getStorageSync('token')
},
--
Gitblit v1.9.1