|
|
@ -851,9 +851,9 @@ public class AssembleIssueJobAppService |
|
|
|
} |
|
|
|
|
|
|
|
[HttpPost("call-back-agv")] |
|
|
|
public virtual async Task<ReusltObject> CallBackAgvAsync(IssueRequestFromRestoDTO input) |
|
|
|
public virtual async Task<ReusltObject> CallBackAgvAsync(string jobNumber, string itemCode,decimal qty,string lot, string postionLocationCode) |
|
|
|
{ |
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion
|
|
|
@ -1116,13 +1116,13 @@ public class AssembleIssueJobAppService |
|
|
|
errors.Add($"结束点{detail.EndPosition}库位没查到"); |
|
|
|
} |
|
|
|
|
|
|
|
LocationDTO tolocation = null; |
|
|
|
LocationDTO toLocation = null; |
|
|
|
|
|
|
|
if (toloc != null) |
|
|
|
{ |
|
|
|
tolocation = await _locationAppService.GetByCodeAsync(toloc.Code).ConfigureAwait(false); |
|
|
|
toLocation = await _locationAppService.GetByCodeAsync(toloc.Code).ConfigureAwait(false); |
|
|
|
} |
|
|
|
if (tolocation == null) |
|
|
|
if (toLocation == null) |
|
|
|
{ |
|
|
|
errors.Add($"结束点{detail.EndPosition}库位没查到"); |
|
|
|
} |
|
|
@ -1136,12 +1136,12 @@ public class AssembleIssueJobAppService |
|
|
|
|
|
|
|
var dto = new AssembleIssueJobDetailDTO(); |
|
|
|
dto.InjectFrom(entity); |
|
|
|
dto.HandledToLocationCode = toloc.Code; |
|
|
|
dto.HandledToLocationGroup = tolocation.LocationGroupCode; |
|
|
|
dto.HandledToLocationArea = tolocation.AreaCode; |
|
|
|
dto.HandledToLocationErpCode = tolocation.ErpLocationCode; |
|
|
|
dto.HandledToLocationCode = toLocation.Code; |
|
|
|
dto.HandledToLocationGroup = toLocation.LocationGroupCode; |
|
|
|
dto.HandledToLocationArea = toLocation.AreaCode; |
|
|
|
dto.HandledToLocationErpCode = toLocation.ErpLocationCode; |
|
|
|
|
|
|
|
dto.HandledToWarehouseCode = tolocation.WarehouseCode; |
|
|
|
dto.HandledToWarehouseCode = toLocation.WarehouseCode; |
|
|
|
dto.HandledToQty = detail.MatQty; |
|
|
|
dto.HandledToLot =!string.IsNullOrEmpty(detail.BatchAttr07)? detail.BatchAttr07: string.Empty; |
|
|
|
dto.HandledToPackingCode = string.Empty; |
|
|
@ -1156,10 +1156,6 @@ public class AssembleIssueJobAppService |
|
|
|
dto.HandledFromPackingCode = string.Empty; |
|
|
|
details.Add(dto); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//await ExecuteDetailExtAsync(itm.Id, entity.Id, dto).ConfigureAwait(false);
|
|
|
|
} |
|
|
|
|
|
|
|