Browse Source

库位更新版本

dev_DY_CC
赵新宇 1 year ago
parent
commit
55d8f0a933
  1. 7
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Requests/CoatingMaterialRequestEventHandler.cs

7
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Requests/CoatingMaterialRequestEventHandler.cs

@ -240,7 +240,7 @@ public class CoatingMaterialRequestEventHandler
private async Task<CoatingIssueJobDetailInput> BuildIssueJobDetailAsync(CoatingMaterialRequestDetail CoatingMaterialRequestDetail, BalanceDTO balance, string toLocationGroupCode)
{
ProductionLineDTO prodLine = await _productionLineAppService.GetByLocationGroupCodeAsync(toLocationGroupCode).ConfigureAwait(false);
//ProductionLineDTO prodLine = await _productionLineAppService.GetByLocationGroupCodeAsync(toLocationGroupCode).ConfigureAwait(false);
var detail = ObjectMapper.Map<BalanceDTO, CoatingIssueJobDetailInput>(balance);
detail.RequestLocationCode = CoatingMaterialRequestDetail.ToLocationCode;
@ -296,8 +296,9 @@ public class CoatingMaterialRequestEventHandler
// detail.RecommendQty = balance.Qty;
// detail.RecommendUom = balance.Uom;
detail.ProdLine = prodLine == null ? toLocationGroupCode : prodLine.Code;
await Task.CompletedTask.ConfigureAwait(false);
// detail.ProdLine = prodLine == null ? toLocationGroupCode : prodLine.Code;
detail.ProdLine = toLocationGroupCode;
await Task.CompletedTask.ConfigureAwait(false);
return detail;
}

Loading…
Cancel
Save