分拣任务变更 现场问题处理
This commit is contained in:
@@ -426,9 +426,12 @@ namespace Tnb.WarehouseMgr
|
||||
Logger.Error($"【FinishproductOutstockSign】库位id {wmsCarryH.location_id}没有对应的库位基础资料!");
|
||||
throw new AppFriendlyException($"库位id {wmsCarryH.location_id}没有对应的库位基础资料!", 500);
|
||||
}
|
||||
if (location != null && location.region_id != WmsWareHouseConst.REGION_CPManualOutstock_ID)
|
||||
if (location.is_type == "0")
|
||||
{
|
||||
throw new Exception($"托盘{wmsCarryH.carry_code}不在人工出库库位中,不能签收!");
|
||||
if (location != null && location.region_id != WmsWareHouseConst.REGION_CPManualOutstock_ID)
|
||||
{
|
||||
throw new Exception($"托盘{wmsCarryH.carry_code}不在人工出库库位或者出入库库位中,不能签收!");
|
||||
}
|
||||
}
|
||||
|
||||
WmsDistaskH wmsDistaskH = _db.Queryable<WmsDistaskH>().Where(r => r.carry_code == input.carry_code && r.endlocation_id == location.id
|
||||
|
||||
Reference in New Issue
Block a user