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" /> - + - + - + - - - - - - - - + + + + + +