Browse Source

更新版本

dev_DY_CC
赵新宇 4 months ago
parent
commit
3dec128f90
  1. 9
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs

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

@ -455,6 +455,15 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase
+ $"【库存不足】");
}
}
foreach (var detail in entity.Details)
{
if (!string.IsNullOrEmpty(detail.FromPackingCode))
{
await CheckPackingCode(detail.FromPackingCode).ConfigureAwait(false);
}
}
resultEntity.Add(await _transferNoteManager.CreateAsync(entity).ConfigureAwait(false));
_ = ObjectMapper.Map<TransferNote, TransferNoteDTO>(entity);

Loading…
Cancel
Save