This commit is contained in:
alex
2023-07-13 14:34:51 +08:00
parent 02f748948f
commit b64a4af91e

View File

@@ -211,9 +211,9 @@ namespace Tnb.WarehouseMgr
WmsPretaskH preTask = new() WmsPretaskH preTask = new()
{ {
org_id = _userManager.User.OrganizeId, org_id = _userManager.User.OrganizeId,
startlocation_id = sPoint?.location_id!, startlocation_id = sPoint?.location_id ?? string.Empty,
startlocation_code = sPoint?.location_code!, startlocation_code = sPoint?.location_code ?? string.Empty,
endlocation_id = ePoint?.location_id!, endlocation_id = ePoint?.location_id ?? string.Empty,
endlocation_code = ePoint?.location_code!, endlocation_code = ePoint?.location_code!,
start_floor = sPoint?.floor.ToString(), start_floor = sPoint?.floor.ToString(),
end_floor = ePoint?.floor.ToString(), end_floor = ePoint?.floor.ToString(),
@@ -223,7 +223,7 @@ namespace Tnb.WarehouseMgr
task_type = WmsWareHouseConst.WMS_PRETASK_OUTSTOCK_TYPE_ID, task_type = WmsWareHouseConst.WMS_PRETASK_OUTSTOCK_TYPE_ID,
carry_id = carry.id, carry_id = carry.id,
carry_code = carry.carry_code, carry_code = carry.carry_code,
area_id = sPoint?.area_id!, area_id = sPoint?.area_id ?? string.Empty,
area_code = it.Key, area_code = it.Key,
require_id = input.data["ReturnIdentity"].ToString(), require_id = input.data["ReturnIdentity"].ToString(),
require_code = input.data[nameof(preTask.bill_code)]?.ToString()!, require_code = input.data[nameof(preTask.bill_code)]?.ToString()!,