@model EMIS.ViewModel.ExaminationApply.SubjectCountLimitView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.HiddenFor(x => x.ExaminationSubjectCountLimitID)
门数限定信息
@if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@Html.LabelFor(x => x.ExaminationTypeID): @Html.DropdownListFor((x => x.ExaminationTypeID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/ExaminationType/DropdownList") }) @Html.LabelFor(x => x.FacultymajorID): @Html.ComboGridFor(x => x.FacultymajorID, new ComboGridOptions { TextField = "Name", ValueField = "FacultymajorID", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="Code", HeaderText="院系专业编码", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="院系专业", Width=0.3, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Width=0.3, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CampusName", HeaderText=@EMIS.Utility.RSL.Get("Campus"), Width=0.3, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Facultymajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } })
@Html.LabelFor(x => x.Years): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, x => x.Years) @Html.LabelFor(x => x.SubjectCountLimit): @Html.TextBoxFor(x => x.SubjectCountLimit, new TextBoxOptions() { })
}
@section scripts{ }