Browse Source

修改类型

Agv分支2024-11-19
郑勃旭 3 months ago
parent
commit
c3e3183f4f
  1. 10
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs

10
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);

Loading…
Cancel
Save