|
|
@ -59,7 +59,7 @@ public class UnplannedReceiptRequestForDongyangAppService : UnplannedReceiptRequ |
|
|
|
|
|
|
|
foreach (var detail in unplannedIssueRequest.Details) |
|
|
|
{ |
|
|
|
if (detail.UnplannedReceiptType == EnumUnplannedReceiptType.Raw) |
|
|
|
if (unplannedIssueRequest.UnplannedReceiptType == EnumUnplannedReceiptType.Raw) |
|
|
|
{ |
|
|
|
var locationDto = await _locationAppService.GetByCodeAsync(detail.LocationCode).ConfigureAwait(false); |
|
|
|
if (locationDto.Type != EnumLocationType.RAW || locationDto.Type != EnumLocationType.SEMI) |
|
|
@ -77,7 +77,7 @@ public class UnplannedReceiptRequestForDongyangAppService : UnplannedReceiptRequ |
|
|
|
//});
|
|
|
|
} |
|
|
|
|
|
|
|
if (detail.UnplannedReceiptType == EnumUnplannedReceiptType.Wip) |
|
|
|
if (unplannedIssueRequest.UnplannedReceiptType == EnumUnplannedReceiptType.Wip) |
|
|
|
{ |
|
|
|
var locationDto = await _locationAppService.GetByCodeAsync(detail.LocationCode).ConfigureAwait(false); |
|
|
|
if (locationDto.Type != EnumLocationType.WIP) |
|
|
|