完善提示信息

This commit is contained in:
刘名喜 2024-12-13 16:50:16 +08:00
parent c0fc567b10
commit 68e6158ab0

View File

@ -367,7 +367,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
// 校验库中数量是否足够
if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) {
throw new RuntimeException("库存数量不足以支持本次出库物料:" + ap0AE.getAE015());
throw new RuntimeException("AE库存数量不足以支持本次出库物料:" + ap0AE.getAE015() + ",库内" + baseKnifeList.size() + ",需要" + wmsOutPlanDetail.getPlannedQuantity());
}
// 开始遍历出库计划子项
@ -483,7 +483,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
// 校验库中数量是否足够
if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) {
throw new RuntimeException("库存数量不足以支持本次出库物料:" + inventoryAdjustment.getProductName());
throw new RuntimeException("AD库存数量不足以支持本次出库物料:" + inventoryAdjustment.getProductName() + ",库内" + baseKnifeList.size() + ",需要" + wmsOutPlanDetail.getPlannedQuantity());
}
// 开始遍历出库计划子项