From b7da1f32d5d9997378b5ac535593a3f6144af46b Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 15 十月 2025 17:15:38 +0800
Subject: [PATCH] 新增AGV与堆垛机移库判断及缓存优化
---
项目代码/PDA/pages/task/AGVCarry.vue | 32 +++++++++-----------------------
1 files changed, 9 insertions(+), 23 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/AGVCarry.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/AGVCarry.vue"
index 85cbf52..69999da 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/AGVCarry.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/AGVCarry.vue"
@@ -13,9 +13,9 @@
<uni-easyinput type="text" :focus="istrue" v-model="SourceAddress" placeholder="璇疯緭鍏GV鎼繍璧风偣"
ref='midInput' />
</uni-forms-item>
- <uni-forms-item label="鎼繍缁堢偣鍖哄煙">
+ <uni-forms-item label="缁堢偣鍖哄煙">
<uni-data-select :focus="!istrue" v-model="AreaId" :localdata="range"
- placeholder="璇疯緭鍏GV鎼繍缁堢偣鍖哄煙"></uni-data-select>
+ placeholder="璇烽�夋嫨AGV鎼繍缁堢偣鍖哄煙"></uni-data-select>
</uni-forms-item>
</uni-forms>
<button @click="RequestAGVCarryTaskAsync" type="primary" size="default"
@@ -49,6 +49,9 @@
</template>
<script>
+ import {
+ config
+ } from '../../common/config';
export default {
data() {
return {
@@ -63,29 +66,12 @@
SourceAddress: "",
items: ['AGV鍖哄煙鎼繍', '鐐瑰鐐规惉杩�'],
current: 0,
- range: [{
- value: "4",
- text: "涓�妤煎叆搴撳尯"
- },
- {
- value: "2",
- text: "涓�妤煎嚭搴撳尯"
- },
- {
- value: "3",
- text: "绔嬪簱缂撳瓨鍖�"
- },
- {
- value: "5",
- text: "浜屾ゼB4-G4缂撳瓨鍖�"
- },
- {
- value: "6",
- text: "浜屾ゼB5-G5缂撳瓨鍖�"
- }
- ],
+ range: [],
}
},
+ onLoad(e){
+ this.range=config.AreaId
+ },
methods: {
onClickItem(e) {
if (this.current != e.currentIndex) {
--
Gitblit v1.9.3