完善提示信息
This commit is contained in:
parent
c0fc567b10
commit
68e6158ab0
@ -367,7 +367,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
|
|||||||
|
|
||||||
// 校验库中数量是否足够
|
// 校验库中数量是否足够
|
||||||
if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) {
|
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()) {
|
if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) {
|
||||||
throw new RuntimeException("库存数量不足以支持本次出库物料:" + inventoryAdjustment.getProductName());
|
throw new RuntimeException("AD库存数量不足以支持本次出库物料:" + inventoryAdjustment.getProductName() + ",库内" + baseKnifeList.size() + ",需要" + wmsOutPlanDetail.getPlannedQuantity());
|
||||||
}
|
}
|
||||||
|
|
||||||
// 开始遍历出库计划子项
|
// 开始遍历出库计划子项
|
||||||
|
Loading…
Reference in New Issue
Block a user