Browse Source

更新版本

Agv分支2024-11-19
赵新宇 4 months ago
parent
commit
93f657b783
  1. 9
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/OperationPacking/IntegrationPackingNotes/IntegrationPackingNoteAppService.cs
  2. 2
      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/OperationPacking/IntegrationPackingNotes/IntegrationPackingNoteAppService.cs

@ -80,7 +80,8 @@ public class IntegrationPackingNoteAppService :
var splitPackingRecDto = splitPackingRecDtos.First();
var inventoryLabelWithoutCodeCreateInput = new InventoryLabelWithoutCodeCreateInput
{
Qty = detailInput.Qty, ItemCode = detailInput.ItemCode,
Qty = detailInput.Qty,
ItemCode = detailInput.ItemCode,
SupplierCode = detailInput.SupplierCode,
Lot = detailInput.Lot,
Uom = detailInput.Uom,
@ -168,8 +169,8 @@ public class IntegrationPackingNoteAppService :
var transferLogEditInput = await BuildTransferLogsAsync(dto, detailInput, splitPackingRecEditInputs.First()).ConfigureAwait(false);
transferLogEditInputs.Add(transferLogEditInput);
}
await _transferLogAppService.AddManyAsync(transferLogEditInputs).ConfigureAwait(false);
throw new UserFriendlyException("123123");
// await _transferLogAppService.AddManyAsync(transferLogEditInputs).ConfigureAwait(false);
}
/// <summary>
@ -231,6 +232,6 @@ public class IntegrationPackingNoteAppService :
private async Task CreateLabelAsync()
{
var batchInsert=await _splitPackingRecAppService.BatchInsertAsync().ConfigureAwait(false);
//var batchInsert=await _splitPackingRecAppService.BatchInsertAsync().ConfigureAwait(false);
}
}

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

@ -715,7 +715,7 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase
{
errors.Add($"结束点{detail.EndPosition}库位没查到");
}
var productionline=await _productionLineAppService.GetByCodeAsync(tolocation.Code).ConfigureAwait(false);
var productionline=await _productionLineAppService.GetByLocationCodeAsync(tolocation.Code).ConfigureAwait(false);
if (productionline == null)
{
errors.Add($"结束点{detail.EndPosition}库位不在生产线中!");

Loading…
Cancel
Save