/// <summary> /// 仓库详情 /// </summary> /// <param name="id"></param> /// <returns></returns> public IActionResult Detail(int id) { if (!_permissionService.Authorize("ViewWareHouseDetail")) { return(View("_AccessDeniedView")); } var data = _wareHouseService.GetById(id); ViewBag.WareHouseType = new SelectList(GetWareHouseTypeList(), "Type", "Name", data.WareHouseType.GetHashCode()); return(View(data)); }
public IActionResult Detail(int id) { var data = _wareHouseService.GetById(id); return(View(data)); }