@model EMIS.ViewModel.Specialtymanage.SpecialtyView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@if (Request["Isdisplay"] == "" || Request["Isdisplay"] == null) {
@Html.ContextMenuBar("Edit")
}
@Html.HiddenFor(x => x.SpecialtyID)
@Html.LabelFor(x => x.StandardName): @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Standard, (x => x.StandardID),DropdownListBindType.PleaseSelect, new ComboGridOptions { OnSelect = "QueryStandard", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Code", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="Name", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.2 } } } }) @Html.LabelFor(x => x.Code): @Html.TextBoxFor(x => x.Code, new TextBoxOptions() { IsEnabled=false })
@Html.LabelFor(x => x.EducationID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Education, (x => x.EducationID)) @Html.LabelFor(x => x.LearningformID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Learningform, (x => x.LearningformID))
@Html.LabelFor(x => x.LearnSystem): @Html.TextBoxFor(x => x.LearnSystem) @Html.LabelFor(x => x.ScienceclassID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Scienceclass, (x => x.ScienceclassID))
@Html.LabelFor(x => x.PropertyID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Property, (x => x.PropertyID)) @Html.LabelFor(x => x.StandardTitle): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_StandardTitle, (x => x.StandardTitle))
@Html.LabelFor(x => x.StandardLevel): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_StandardLevel, (x => x.StandardLevel)) @Html.LabelFor(x => x.RecordStatus): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.SYS_STATUS, (x => x.RecordStatus))
@Html.LabelFor(x => x.Remark): @Html.TextAreaFor(x => x.Remark, new Dictionary { { "style", "width: 90%;min-height: 50px" } })
}