From 9d1ef0fbde09858062de735f113905bc9af8f477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Thu, 16 Jan 2025 10:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerProductionReturnNoteAppService.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/CustomerProductionReturnNotes/CustomerProductionReturnNoteAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/CustomerProductionReturnNotes/CustomerProductionReturnNoteAppService.cs index e4cc14b92..b88946693 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/CustomerProductionReturnNotes/CustomerProductionReturnNoteAppService.cs +++ b/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; public CustomerProductionReturnNoteAppService( - ICustomerProductionReturnNoteRepository repository + ICustomerProductionReturnNoteRepository repository , ICustomerProductionReturnNoteManager CustomerProductionReturnNoteManager , ICustomerItemAppService customerItemAppService, ISalePriceSheetAppService salePriceSheetAppService, @@ -137,16 +137,16 @@ public class CustomerProductionReturnNoteAppService : } foreach (var itm in entity.Details) { - itm.FromLocationCode = "OK"; + itm.FromLocationCode = ""; itm.FromStatus = EnumInventoryStatus.OK; itm.ToStatus=EnumInventoryStatus.OK; - itm.FromLocationArea = "OK"; - itm.FromLocationErpCode= "OK"; - itm.FromWarehouseCode = "OK"; - itm.FromLocationGroup = "OK"; - itm.FromContainerCode = "OK"; - itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "OK": itm.ToContainerCode; - itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "OK": itm.ToContainerCode; + itm.FromLocationArea = ""; + itm.FromLocationErpCode= ""; + itm.FromWarehouseCode = ""; + itm.FromLocationGroup = ""; + itm.FromContainerCode = ""; + itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "": itm.ToContainerCode; + itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "": itm.ToContainerCode; } await _CustomerProductionReturnNoteManager.CreateAsync(entity).ConfigureAwait(false);