|
|
@ -123,7 +123,7 @@ public class CustomerProductionReturnNoteAppService : |
|
|
|
var part= custitmDetail.FirstOrDefault(p => p.CustomerCode == entity.CustomerCode && p.ItemCode==itm.ItemCode); |
|
|
|
if (part == null) |
|
|
|
{ |
|
|
|
throw new UserFriendlyException($"零件编号{itm.ItemCode}客户编码{entity.CustomerCode}在客户物料关系表中不存在!"); |
|
|
|
throw new UserFriendlyException($"零件编号{itm.ItemCode}客户编码{entity.CustomerCode}在客户物品关系表中不存在!"); |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion
|
|
|
|