From bb44fbbe5340a86a16f6deec50cc39a8700e80c6 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 04 十一月 2025 08:45:30 +0800
Subject: [PATCH] 缓冲区入库 缓冲区出库 缓冲区组托
---
pages/AGV/AGVOutCall.vue | 31 ++++++-------------------------
1 files changed, 6 insertions(+), 25 deletions(-)
diff --git a/pages/AGV/AGVMoveCall.vue b/pages/AGV/AGVOutCall.vue
similarity index 91%
copy from pages/AGV/AGVMoveCall.vue
copy to pages/AGV/AGVOutCall.vue
index c8a0fbe..90631a1 100644
--- a/pages/AGV/AGVMoveCall.vue
+++ b/pages/AGV/AGVOutCall.vue
@@ -2,30 +2,18 @@
<view>
<view class="code">
<view class="item">
- <view class="code-decs">鍏ュ簱绔欑偣:</view>
- <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="orgSite" :focus="barcodeFocus">
- </view>
- <view class="item">
- <view class="code-decs">鎵樼洏鐮�:</view>
- <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" >
- </view>
- <view class="item">
- <view class="code-decs">鐩爣搴撲綅:</view>
+ <view class="code-decs">鐩爣绔欑偣锛�</view>
<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="tarSite" >
<!-- <uni-combox :candidates="staList" placeholder="璇烽�夋嫨绔欑偣" v-model="tarSite"></uni-combox> -->
</view>
</view>
<view class="mat-list-title">
</view>
-
<!-- 搴曢儴鎿嶄綔鎸夐挳 -->
<view class="buttom">
<button size="mini" @click="reset('warn')">閲嶇疆</button>
<button size="mini" type="primary" @click="combConfirm('warn')">鍛煎彨</button>
</view>
- <!-- 寮圭獥 -->
- <!-- 淇敼鏁伴噺 -->
-
<!-- 绉婚櫎纭 -->
<view>
<!-- 鎻愮ず绐楃ず渚� -->
@@ -83,21 +71,21 @@
removeNum: 0,
locNo:"",
orgSite:'',
- tarSite:'e',
+ tarSite:'',
staList:[],
}
},
onLoad() {
let that = this
const eventChannel = this.getOpenerEventChannel();
- that.getSites()
+ // that.getSites()
},
onShow() {
this.baseUrl = uni.getStorageSync('baseUrl');
this.token = uni.getStorageSync('token');
},
mounted() {
- this.tarSite = uni.getStorageSync('tarSite')
+ // this.tarSite = uni.getStorageSync('tarSite')
},
methods: {
messageToggle(type) {
@@ -269,16 +257,9 @@
uni.setStorageSync('tarSite', this.tarSite);
uni.vibrateShort();
let that = this;
- if (that.orgSite === '') {
- this.messageText = "浜х嚎绔欎负绌�"
- this.messageToggle('error')
- return;
- }
uni.request({
- url: that.baseUrl + '/mobile/cache/agv/call',
+ url: that.baseUrl + '/mobile/cache/out/call',
data: JSON.stringify({
- orgSite: that.orgSite,
- barcode: that.barcode,
tarSite: that.tarSite
}),
method: 'POST',
@@ -363,7 +344,7 @@
}
.code-decs {
- width: 20vw;
+ width: 25vw;
font-size: 18px;
color: #303133;
}
--
Gitblit v1.9.1