原材料仓绑定采购/委外/调拨条码接口调整、载具绑定记录调整启用、入库流水插入调整

This commit is contained in:
2024-08-12 17:51:55 +08:00
parent 3152824adb
commit e8066daef0
9 changed files with 106 additions and 13 deletions

View File

@@ -1868,6 +1868,12 @@ namespace Tnb.WarehouseMgr
Logger.LogWarning($"【RackInstock】料架不能为空{input.carry_code}");
throw new AppFriendlyException($"【RackInstock】料架不能为空{input.carry_code}", 500);
}
if (wmsCarryH.carry_status != "0")
{
Logger.LogWarning($"【RackInstock】料架为非空闲状态不能退回缓存仓{input.carry_code}");
throw new AppFriendlyException($"【RackInstock】料架为非空闲状态不能退回缓存仓{input.carry_code}", 500);
}
// 找到未占用且未锁定的库位
ISugarQueryable<BasLocation> rackEndLocations =