This commit is contained in:
刘名喜 2024-11-28 18:08:22 +08:00
parent 24ed0ed36e
commit 603aea2567
2 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ public class WmsOutPlanController extends BaseController {
@PreAuthorize("@ss.hasPermi('md:PLAN:list')")
@GetMapping("/list")
public TableDataInfo list(WmsOutPlan wmsOutPlan) {
wmsOutPlanService.synchronizationMiniBox(getUsername()); // 调试
startPage();
List<WmsOutPlan> list = wmsOutPlanService.selectWmsOutPlanList(wmsOutPlan);
return getDataTable(list);

View File

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