From c0adc5b45760633730a64fa5418018bf15417c7b Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Thu, 17 Apr 2025 09:30:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=80=80=E8=B4=A7=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E9=9B=B6=E4=BB=B6=E5=AD=98=E5=9C=A8=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerProductionReturnNoteAppService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 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;