Browse Source

UP

Agv分支2024-11-19
赵新宇 4 months ago
parent
commit
33bd5367c2
  1. 4
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs

4
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs

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

Loading…
Cancel
Save