|
@ -56,7 +56,8 @@ public class KittingIssueJobAppService |
|
|
await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false); |
|
|
await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return await base.CreateManyAsync(inputs).ConfigureAwait(false); |
|
|
var kittingIssueJobDtos=await base.CreateManyAsync(inputs).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[HttpPost("")] |
|
|
[HttpPost("")] |
|
@ -268,8 +269,23 @@ public class KittingIssueJobAppService |
|
|
if (loctionDto.Type == EnumLocationType.DimensionalStorehouse) |
|
|
if (loctionDto.Type == EnumLocationType.DimensionalStorehouse) |
|
|
{ |
|
|
{ |
|
|
input.JobStatus = EnumJobStatus.Wait; |
|
|
input.JobStatus = EnumJobStatus.Wait; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 判断是不是在立体库
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="input"></param>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
private async Task CheckDimensionalStorehouseAsync(KittingIssueJob kittingIssueJob) |
|
|
|
|
|
{ |
|
|
|
|
|
var jobDetailInputdetail = kittingIssueJob.Details.FirstOrDefault(); |
|
|
|
|
|
|
|
|
//todo 调用立库接口
|
|
|
var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode) |
|
|
|
|
|
.ConfigureAwait(false); |
|
|
|
|
|
|
|
|
|
|
|
if (loctionDto.Type == EnumLocationType.DimensionalStorehouse) |
|
|
|
|
|
{ |
|
|
|
|
|
//TODO 立体库
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|