Browse Source

up

dev_DY_CC
赵新宇 5 months ago
parent
commit
82a4087d86
  1. 9
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs

9
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs

@ -380,9 +380,12 @@ public class AssembleIssueJobAppService
await AssembleIssueRequestAppService.UpdateStatusCompletedAsync(assembleIssueJob.AssembleRequestNumber)
.ConfigureAwait(false);
await _transferLibRequestAppService.CompleteByJobNumAsync(assembleIssueJob.Number)
var flag = await _transferLibRequestAppService.IsCompleted(assembleIssueJob.Number).ConfigureAwait(false);
if (flag == false)
{
await _transferLibRequestAppService.CompleteByJobNumAsync(assembleIssueJob.Number)
.ConfigureAwait(false);
}
await _repository.UpdateAsync(assembleIssueJob).ConfigureAwait(false);
}
@ -753,8 +756,6 @@ public class AssembleIssueJobAppService
else if (loctionDto.Type == EnumLocationType.RAW && loctionDto.RowCode == 1)
{
jobDetailInputdetail.TransferLibFromArriveDate = jobDetailInputdetail.RecommendFromArriveDate;
jobDetailInputdetail.TransferLibFromContainerCode = jobDetailInputdetail.RecommendFromContainerCode;
jobDetailInputdetail.TransferLibFromExpireDate = jobDetailInputdetail.RecommendFromExpireDate;

Loading…
Cancel
Save