优化0120

This commit is contained in:
zj
2026-01-20 16:44:09 +08:00
parent 35763414e1
commit aa4c561151
4 changed files with 26 additions and 13 deletions

View File

@@ -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, "超大托盘");