From c3e3183f4fbe3cc2f19a9c470d9580d3fedc899f Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Thu, 23 Jan 2025 10:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Notes/TransferNotes/TransferNoteAppService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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);