|
|
@ -369,8 +369,10 @@ namespace BBWYB.Server.Business |
|
|
|
}); |
|
|
|
var noCurrentBargainTeamList = dbPurchaserList.Where(dp => !string.IsNullOrEmpty(dp.BelongBargainTeamId) && |
|
|
|
dp.BelongBargainTeamId != uInfo.bargainTeam.Id).ToList(); |
|
|
|
//if (noCurrentBargainTeamList.Count() > 0)
|
|
|
|
// throw new BusinessException($"不能包含被其他议价组使用的采购商 [{string.Join(",", noCurrentBargainTeamList.Select(x => x.Name))}]");
|
|
|
|
if (noCurrentBargainTeamList.Count() > 0) |
|
|
|
throw new BusinessException($"不能包含被其他议价组使用的采购商 [{string.Join(",", noCurrentBargainTeamList.Select(x => x.Name))}]"); |
|
|
|
throw new BusinessException($"该商品的供应商,已归属其他议价组.保存失败~!\r\n{string.Join(",", noCurrentBargainTeamList.Select(x => x.Name))}"); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
|