Browse Source

更新版本

dev_DY_CC
赵新宇 4 months ago
parent
commit
9d1ef0fbde
  1. 18
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/CustomerProductionReturnNotes/CustomerProductionReturnNoteAppService.cs

18
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/CustomerProductionReturnNotes/CustomerProductionReturnNoteAppService.cs

@ -35,7 +35,7 @@ public class CustomerProductionReturnNoteAppService :
private readonly ISalePriceSheetAppService _salePriceSheetAppService; private readonly ISalePriceSheetAppService _salePriceSheetAppService;
public CustomerProductionReturnNoteAppService( public CustomerProductionReturnNoteAppService(
ICustomerProductionReturnNoteRepository repository ICustomerProductionReturnNoteRepository repository
, ICustomerProductionReturnNoteManager CustomerProductionReturnNoteManager , ICustomerProductionReturnNoteManager CustomerProductionReturnNoteManager
, ICustomerItemAppService customerItemAppService, , ICustomerItemAppService customerItemAppService,
ISalePriceSheetAppService salePriceSheetAppService, ISalePriceSheetAppService salePriceSheetAppService,
@ -137,16 +137,16 @@ public class CustomerProductionReturnNoteAppService :
} }
foreach (var itm in entity.Details) foreach (var itm in entity.Details)
{ {
itm.FromLocationCode = "OK"; itm.FromLocationCode = "";
itm.FromStatus = EnumInventoryStatus.OK; itm.FromStatus = EnumInventoryStatus.OK;
itm.ToStatus=EnumInventoryStatus.OK; itm.ToStatus=EnumInventoryStatus.OK;
itm.FromLocationArea = "OK"; itm.FromLocationArea = "";
itm.FromLocationErpCode= "OK"; itm.FromLocationErpCode= "";
itm.FromWarehouseCode = "OK"; itm.FromWarehouseCode = "";
itm.FromLocationGroup = "OK"; itm.FromLocationGroup = "";
itm.FromContainerCode = "OK"; itm.FromContainerCode = "";
itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "OK": itm.ToContainerCode; itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "": itm.ToContainerCode;
itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "OK": itm.ToContainerCode; itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "": itm.ToContainerCode;
} }
await _CustomerProductionReturnNoteManager.CreateAsync(entity).ConfigureAwait(false); await _CustomerProductionReturnNoteManager.CreateAsync(entity).ConfigureAwait(false);

Loading…
Cancel
Save