From 9fac0930e29e0f76bedf2baf2bf71ae977d48258 Mon Sep 17 00:00:00 2001 From: liuxy Date: Tue, 13 Dec 2022 13:42:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pda/mps/service/impl/EmptyVehicleServiceImpl.java | 8 +++++--- .../src/views/wms/pdm/ivt/coolpointivt/inventory.vue | 2 +- .../src/views/wms/pdm/ivt/cutpointivt/index.vue | 10 +++++----- .../src/views/wms/pdm/ivt/deliverypointivt/index.vue | 6 +++--- .../src/views/wms/pdm/ivt/hotpointivt/pointIvt.vue | 2 +- .../src/views/wms/pdm/order/slittingplan/index.vue | 2 +- 6 files changed, 16 insertions(+), 14 deletions(-) diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/EmptyVehicleServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/EmptyVehicleServiceImpl.java index 0da323ec4..c657ac6c2 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/EmptyVehicleServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/EmptyVehicleServiceImpl.java @@ -29,11 +29,13 @@ public class EmptyVehicleServiceImpl implements EmptyVehicleService { if (StrUtil.isEmpty(point_code)){ throw new BadRequestException("点位不能为空!"); } + + String empty_vehicle_code = ""; JSONObject point_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("empty_point_code = '"+point_code+"'").uniqueResult(0); - if (ObjectUtil.isEmpty(point_jo)){ - throw new BadRequestException("未查询到对应点位,请扫描正确的空轴点位!"); + if (ObjectUtil.isNotEmpty(point_jo)){ + empty_vehicle_code = point_jo.getString("empty_vehicle_code"); } - String empty_vehicle_code = point_jo.getString("empty_vehicle_code"); + JSONObject vehicle_jo = new JSONObject(); vehicle_jo.put("vehicle_code",empty_vehicle_code); JSONObject jo = new JSONObject(); diff --git a/lms/nladmin-ui/src/views/wms/pdm/ivt/coolpointivt/inventory.vue b/lms/nladmin-ui/src/views/wms/pdm/ivt/coolpointivt/inventory.vue index eb1bd78a9..9823b409d 100644 --- a/lms/nladmin-ui/src/views/wms/pdm/ivt/coolpointivt/inventory.vue +++ b/lms/nladmin-ui/src/views/wms/pdm/ivt/coolpointivt/inventory.vue @@ -241,7 +241,7 @@ - +