diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs index bc856a819..c6d5baedd 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs @@ -710,10 +710,10 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase errors.Add($"来源起始点{detail.BeginPosition}库位没查到"); } - if (detail.OrderType != "90" && detail.OrderType != "1") - { - throw new UserFriendlyException("类型不是MES冻结解冻或完工转储类型(50、51)"); - } + //if (detail.OrderType != "90" && detail.OrderType != "1") + //{ + // throw new UserFriendlyException("接口类型参数OrderType应为【MES冻结-90】或【完工转储-1】"); + //} if(detail.OrderType=="1") { @@ -788,7 +788,7 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase detailInput.Qty = detail.MatQty; detailInput.FromLot = !string.IsNullOrEmpty(detail.BatchAttr07) ? detail.BatchAttr07 : string.Empty; detailInput.FromPackingCode = string.Empty; - + detailInput.Remark = detail.OrderType; transfer.Details.Add(detailInput);