diff --git a/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs b/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs index 8b70b7e3..337f5bdf 100644 --- a/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs +++ b/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs @@ -574,6 +574,8 @@ namespace BBWY.Server.Business } if (request.PurchaseAccountList == null || request.PurchaseAccountList.Count() == 0) throw new BusinessException("缺少采购账号"); + if (request.IntoStoreType == null) + throw new BusinessException("缺少入仓类型"); if (request.IntoStoreType == Enums.IntoStoreType.发回齐越) { if (request.CargoParamGroupList.Any(c => c.CargoParamList.Any(x => x.StockType == null)))