Browse Source

完工转储校验修改

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

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

@ -452,7 +452,7 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase
if (!string.IsNullOrEmpty(packingCode))
{
var packingcode = await _expectOutAppService.GetListByPackingCodeAsync(packingCode).ConfigureAwait(false);
if (packingcode != null && packingCode.Length > 0)
if (packingcode != null && packingCode.Length == 0)
{
throw new UserFriendlyException($"箱码{packingCode}在预计出中已存在!");
}

Loading…
Cancel
Save