Browse Source

Merge branch 'master' of http://code.qiyue666.com/pengcong001/bbwy

AddValidOverTime
shanji 2 years ago
parent
commit
18e4318888
  1. 2
      BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs

2
BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs

@ -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)))

Loading…
Cancel
Save