Browse Source

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

AddValidOverTime
506583276@qq.com 2 years ago
parent
commit
54cc88f9d7
  1. 14
      BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs

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

@ -559,7 +559,19 @@ namespace BBWY.Server.Business
string.IsNullOrEmpty(request.Consignee.Address) || string.IsNullOrEmpty(request.Consignee.Address) ||
string.IsNullOrEmpty(request.Consignee.Mobile) || string.IsNullOrEmpty(request.Consignee.Mobile) ||
string.IsNullOrEmpty(request.Consignee.ContactName)) string.IsNullOrEmpty(request.Consignee.ContactName))
throw new BusinessException("缺少收货人信息"); {
request.Consignee = new ConsigneeRequest()
{
ContactName = "默认收货人",
Address = "齐越众创投资有限公司",
Province = "福建省",
City = "泉州市",
County = "鲤城区",
Town = "鲤城区",
Mobile = "15000000000",
TelePhone = "15000000000"
};
}
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 == Enums.IntoStoreType.) if (request.IntoStoreType == Enums.IntoStoreType.)

Loading…
Cancel
Save