/// <summary> /// 修改导购视图 /// 负责人:谢海荣 /// </summary> /// <returns></returns> public ActionResult Update(GuidUn model) { Utility.SelectLists unSel = new Utility.SelectLists(); ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text"); ViewBag.GuidID = model.ID; return View(model); }
/// <summary> /// 修改导购视图 /// 负责人:谢海荣 /// </summary> /// <returns></returns> public ActionResult Update(GuidUn model) { Utility.SelectLists unSel = new Utility.SelectLists(); ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text"); ViewBag.GuidID = model.ID; return(View(model)); }
/// <summary> /// 修改导购视图 /// 负责人:谢海荣 /// </summary> /// <returns></returns> public ActionResult Update(int ID) { Utility.SelectLists unSel = new Utility.SelectLists(); GuidUnBll guBll = new GuidUnBll(); GuidUn model = guBll.GetModelGuid(ID, LoginUser.UserBasic.EnterpriseID); ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text", model.GuidType); ViewBag.GuidID = ID; return(View(model)); }
public JsonResult Create(GuidUn model) { GuidUnBll guBll = new GuidUnBll(); model.AgentID = (uint)AgentLoginUser.RoleID; model.EnterpriseID = AgentLoginUser.UserBasic.EnterpriseID; model.ContactPhone = "0"; model.AddTime = DateTime.Now; model.Status = 1; return Json(guBll.DelCreateGuid(model), JsonRequestBehavior.AllowGet); }
public JsonResult Create(GuidUn model) { GuidUnBll guBll = new GuidUnBll(); model.AgentID = 1; model.EnterpriseID = LoginUser.UserBasic.EnterpriseID; model.ContactPhone = ""; model.AddTime = DateTime.Now; model.Status = 1; return(Json(guBll.DelCreateGuid(model), JsonRequestBehavior.AllowGet)); }
public JsonResult UpdateAfter(GuidUn model) { GuidUnBll guBll = new GuidUnBll(); return(Json(guBll.DelCreateGuid(model))); }
public JsonResult UpdateAfter(GuidUn model) { GuidUnBll guBll = new GuidUnBll(); return Json(guBll.DelCreateGuid(model)); }