/// <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> /// <param name="model">导购实例</param> /// <returns>返回新增导购视图</returns> public ActionResult Create(int ShopInfoID) { Utility.SelectLists unSel = new Utility.SelectLists(); ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text", -1); ViewBag.ShopInfoID = ShopInfoID; return(View()); }
/// <summary> /// 新增导购 /// 负责人:谢海荣 /// </summary> /// <param name="model">导购实例</param> /// <returns>返回新增导购视图</returns> public ActionResult Create(int ShopInfoID) { Utility.SelectLists unSel = new Utility.SelectLists(); ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text",-1); ViewBag.ShopInfoID = ShopInfoID; return View(); }
/// <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); }
/// <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)); }
// GET: Agent public ActionResult Index() { ChannelGroupBll chn = new ChannelGroupBll(); Utility.SelectLists unSel=new Utility.SelectLists(); IList<ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); ViewBag.AgentStatus = new SelectList(unSel.GetAgent(), "Value", "Text",-1); return View(); }
// GET: Agent public ActionResult Index() { ChannelGroupBll chn = new ChannelGroupBll(); Utility.SelectLists unSel = new Utility.SelectLists(); IList <ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); ViewBag.AgentStatus = new SelectList(unSel.GetAgent(), "Value", "Text", -1); return(View()); }
// GET: AgentState/AgentShopInfo public ActionResult Index() { Utility.SelectLists unSel = new Utility.SelectLists(); ViewBag.ShopInfoStatus = new SelectList(unSel.GetAgent_ShopInfo(), "Value", "Text", -1); return View(); }
// GET: AgentState/AgentShopInfo public ActionResult Index() { Utility.SelectLists unSel = new Utility.SelectLists(); ViewBag.ShopInfoStatus = new SelectList(unSel.GetAgent_ShopInfo(), "Value", "Text", -1); return(View()); }