public PartialViewResult Create(string wuYeBianHao = "") { if (string.IsNullOrEmpty(wuYeBianHao)) { return(new PartialViewResult { ViewName = ExtHelper.Create.ToString(), Model = new ZhuZhaiLouDongXiuZheng() }); } return(new PartialViewResult { ViewName = ExtHelper.CreateSh.ToString(),//"CreateSh", Model = new ZhuZhaiLouDongXiuZheng { WuYeBianHao = wuYeBianHao, WuYeMingCheng = _service.GetWuYeMingCheng(wuYeBianHao) } }); }
public PartialViewResult Create(string wuYeBianHao = "") { if (string.IsNullOrEmpty(wuYeBianHao)) { return(new PartialViewResult { ViewName = "Create", Model = new ZhuZhaiChengJiao { } }); } return(new PartialViewResult { ViewName = "CreateSh", Model = new ZhuZhaiChengJiao { WuYeBianHao = wuYeBianHao, WuYeMingCheng = _service.GetWuYeMingCheng(wuYeBianHao) } }); }
public ActionResult UpdateWuYeMingCheng(string wuYeBianHao) { if (!string.IsNullOrEmpty(wuYeBianHao)) { this.GetCmp <TextField>("WuYeMingCheng").Value = _service.GetWuYeMingCheng(wuYeBianHao); return(this.Direct()); } return(this.Direct()); }