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 e4d0af6fb..64350b3de 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 @@ -139,11 +139,11 @@ public class CustomerProductionReturnNoteAppService : on itm.ItemCode equals itm1.ItemCode select itm1; - var custErr= checkCustomer.Select(x => x.CustomerCode).Distinct().ToList(); - if (custErr.Count > 1) - { - throw new UserFriendlyException($"提交客户退货物品{string.Join(",", custErr)}存在多个客户,不能退货!"); - } + //var custErr= checkCustomer.Select(x => x.CustomerCode).Distinct().ToList(); + //if (custErr.Count > 1) + //{ + // throw new UserFriendlyException($"提交客户退货物品{string.Join(",", custErr)}存在多个客户,不能退货!"); + //} if(entity.Details.Count>0) { entity.CustomerCode = checkCustomer.FirstOrDefault().CustomerCode;