From aa4c56115170b9013e9fdbede85c9d661373732e Mon Sep 17 00:00:00 2001 From: zj Date: Tue, 20 Jan 2026 16:44:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=960120?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/service/impl/ToWmsServiceImpl.java | 7 +++++- ruoyi-ui/src/views/out/addOutStockout.vue | 4 ++-- ruoyi-ui/src/views/stock/management/index.vue | 4 ++-- ruoyi-ui/src/views/stock/pointOut.vue | 24 ++++++++++++------- 4 files changed, 26 insertions(+), 13 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/api/service/impl/ToWmsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/api/service/impl/ToWmsServiceImpl.java index b5b7fc2..3c2353c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/api/service/impl/ToWmsServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/api/service/impl/ToWmsServiceImpl.java @@ -247,7 +247,7 @@ public class ToWmsServiceImpl implements IToWmsService { if ("2".equals(requestEnter.getFloor())){ AjaxResult workshopInboundOrder = toErpService.createWorkshopInboundOrder(basProduct,erpBill); if (!workshopInboundOrder.isSuccess()){ - throw new RuntimeException("创建工单失败"); + throw new RuntimeException("创建工单失败,人工处理"); } } @@ -494,6 +494,11 @@ public class ToWmsServiceImpl implements IToWmsService { } } + int size1 = Convert.toInt(basProduct.getSpare38()); + if (size1 > 1080){ + return AjaxResult.error("货物超高"); + } + //超大托盘不处理 直接返回 if (size == 5) { return new AjaxResult(3, "超大托盘"); diff --git a/ruoyi-ui/src/views/out/addOutStockout.vue b/ruoyi-ui/src/views/out/addOutStockout.vue index 5036b0a..6d6eb45 100644 --- a/ruoyi-ui/src/views/out/addOutStockout.vue +++ b/ruoyi-ui/src/views/out/addOutStockout.vue @@ -95,7 +95,7 @@ @keyup.enter.native="handleQuery" /> - + - + - + - - - - - - - - + + + + + +