From a3a061b93f2aef5e73289ac6fca7bfa8cafa17d8 Mon Sep 17 00:00:00 2001 From: liuxy Date: Tue, 3 Dec 2024 08:57:47 +0800 Subject: [PATCH] =?UTF-8?q?rev=EF=BC=9A=E4=B8=8B=E5=8F=91=E8=BE=93?= =?UTF-8?q?=E9=80=81=E7=BA=BF=E6=98=AF=E5=90=A6=E9=9C=80=E8=A6=81=E8=BD=BD?= =?UTF-8?q?=E5=85=B7=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/acs/agv/server/AgvWaitUtil.java | 2 ++ acs2/nladmin-ui/src/views/acs/task/index.vue | 35 +++++++++++++------ 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java b/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java index 5a2d41a..d9a0bb1 100644 --- a/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java +++ b/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java @@ -140,6 +140,8 @@ public class AgvWaitUtil { JSONObject param = new JSONObject(); param.put("toCommand",XgAgvEnum.APPLY_PUT.getCode()); param.put("deviceCode",deviceCode); + // 判断是否需要空托盘 + param.put("isBarcode", ObjectUtil.isEmpty(taskDto.getIs_vehicle()) ? "0" : taskDto.getIs_vehicle()); JSONObject data = new JSONObject(); data.put("DATA", param); diff --git a/acs2/nladmin-ui/src/views/acs/task/index.vue b/acs2/nladmin-ui/src/views/acs/task/index.vue index b1b979d..2cefa2d 100644 --- a/acs2/nladmin-ui/src/views/acs/task/index.vue +++ b/acs2/nladmin-ui/src/views/acs/task/index.vue @@ -231,6 +231,21 @@ /> + + + + + @@ -261,22 +276,22 @@ - - - - - + + + - + + + + + @@ -313,7 +328,7 @@ import { getDicts } from '@/api/system/dict' export default { name: 'Task', components: { pagination, crudOperation }, - dicts: ['task_status', 'task_type'], + dicts: ['task_status', 'task_type', 'is_yes_not'], mixins: [presenter(), header(), crud()], cruds() { return CRUD({ title: '任务', url: 'api/task', idField: 'task_id', sort: 'task_id,desc',