/// <summary> /// 门店商品管理 /// </summary> /// <param name="shopBranchId"></param> /// <returns></returns> public ActionResult ProductManagement(long shopBranchId) { var shopBranch = ShopBranchApplication.GetShopBranchById(shopBranchId); ViewBag.ShopBranchName = shopBranch.ShopBranchName; ViewBag.ShopCategorys = ShopCategoryApplication.GetShopCategory(shopBranch.ShopId); return(View()); }
private ProductCreateModel InitCreateModel(ProductCreateModel model = null) { if (model == null) { model = new ProductCreateModel(); } long id = base.CurrentShop.Id; model.ShopCategorys = ShopCategoryApplication.GetShopCategory(id); return(model); }
/// <summary> /// 门店商品管理 /// </summary> /// <param name="shopBranchId"></param> /// <returns></returns> public ActionResult ProductManagement(long shopBranchId) { var shopBranch = ShopBranchApplication.GetShopBranchById(shopBranchId); var shopBranchName = string.Empty; if (shopBranch != null) { shopBranchName = shopBranch.ShopBranchName; } ViewBag.ShopBranchName = shopBranchName; ViewBag.ShopCategorys = ShopCategoryApplication.GetShopCategory(CurrentSellerManager.ShopId); return(View()); }