出库申请,未找到载具时提示,“库存不足”

This commit is contained in:
alex
2023-06-28 09:23:53 +08:00
parent 465790efcb
commit 8db0152336

View File

@@ -219,6 +219,7 @@ namespace Tnb.WarehouseMgr
genPreTaskAfterUpInput.LocationIds = new HashSet<string>(locIds).ToList();
await _wareHouseService.GenInStockTaskHandleAfter(genPreTaskAfterUpInput, it => new WmsCarryH { is_lock = 1 }, it => new BasLocation { is_lock = 1 });
}
else throw new AppFriendlyException("库存不足", 500);
}
else throw new AppFriendlyException($"请输入物料明细", 500);