|
@ -710,12 +710,12 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase |
|
|
errors.Add($"来源起始点{detail.BeginPosition}库位没查到"); |
|
|
errors.Add($"来源起始点{detail.BeginPosition}库位没查到"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (detail.OrderType != "50" && detail.OrderType != "51") |
|
|
if (detail.OrderType != "90" && detail.OrderType != "1") |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException("类型不是MES冻结解冻或完工转储类型(50、51)"); |
|
|
throw new UserFriendlyException("类型不是MES冻结解冻或完工转储类型(50、51)"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(detail.OrderType=="51") |
|
|
if(detail.OrderType=="1") |
|
|
{ |
|
|
{ |
|
|
var productionline = await _productionLineAppService.GetByLocationCodeAsync(fromlocation.Code).ConfigureAwait(false); |
|
|
var productionline = await _productionLineAppService.GetByLocationCodeAsync(fromlocation.Code).ConfigureAwait(false); |
|
|
if (productionline == null) |
|
|
if (productionline == null) |
|
|