|
@ -587,6 +587,8 @@ namespace BBWY.Server.Business |
|
|
} |
|
|
} |
|
|
if (request.PurchaseAccountList == null || request.PurchaseAccountList.Count() == 0) |
|
|
if (request.PurchaseAccountList == null || request.PurchaseAccountList.Count() == 0) |
|
|
throw new BusinessException("缺少采购账号"); |
|
|
throw new BusinessException("缺少采购账号"); |
|
|
|
|
|
if (request.IntoStoreType == null) |
|
|
|
|
|
throw new BusinessException("缺少入仓类型"); |
|
|
if (request.IntoStoreType == Enums.IntoStoreType.发回齐越) |
|
|
if (request.IntoStoreType == Enums.IntoStoreType.发回齐越) |
|
|
{ |
|
|
{ |
|
|
if (request.CargoParamGroupList.Any(c => c.CargoParamList.Any(x => x.StockType == null))) |
|
|
if (request.CargoParamGroupList.Any(c => c.CargoParamList.Any(x => x.StockType == null))) |
|
|