|
@ -218,22 +218,7 @@ public class CoatingMaterialRequestAppService : SfsStoreRequestAppServiceBase<Co |
|
|
var itemBasicDto = await _itemBasicAppService.GetByCodeAsync(detailInput.ItemCode).ConfigureAwait(false); |
|
|
var itemBasicDto = await _itemBasicAppService.GetByCodeAsync(detailInput.ItemCode).ConfigureAwait(false); |
|
|
CheckItemBasic(itemBasicDto, detailInput.ItemCode); |
|
|
CheckItemBasic(itemBasicDto, detailInput.ItemCode); |
|
|
detailInput.ItemDesc1 = itemBasicDto.Desc1; |
|
|
detailInput.ItemDesc1 = itemBasicDto.Desc1; |
|
|
if (detailInput.PositionCode.Contains('W')) |
|
|
|
|
|
{ |
|
|
|
|
|
detailInput.RecommendType = EnumRecommendType.W; |
|
|
|
|
|
} |
|
|
|
|
|
else if (detailInput.PositionCode.Contains('Q')) |
|
|
|
|
|
{ |
|
|
|
|
|
detailInput.RecommendType = EnumRecommendType.Q; |
|
|
|
|
|
} |
|
|
|
|
|
else if (detailInput.PositionCode.Contains('K')) |
|
|
|
|
|
{ |
|
|
|
|
|
detailInput.RecommendType = EnumRecommendType.K; |
|
|
|
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
detailInput.RecommendType = EnumRecommendType.None; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//var productionLineDto = await _productionLineAppService.GetByLocationGroupCodeAsync(toLocationDto.LocationGroupCode).ConfigureAwait(false);
|
|
|
//var productionLineDto = await _productionLineAppService.GetByLocationGroupCodeAsync(toLocationDto.LocationGroupCode).ConfigureAwait(false);
|
|
|
|
|
|
|
|
|