1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- @model EMIS.ViewModel.ExaminationApply.SubjectCountLimitView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- @Html.HiddenFor(x => x.ExaminationSubjectCountLimitID)
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 门数限定信息</div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- </div>
- <div class="search_list popupWindowContent">
- <table cellpadding="0" cellspacing="0" id="departmenttable">
- <tr>
- <td>@Html.LabelFor(x => x.ExaminationTypeID):
- </td>
- <td>@Html.DropdownListFor((x => x.ExaminationTypeID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/ExaminationType/DropdownList") })
- </td>
- <td>@Html.LabelFor(x => x.Years):
- </td>
- <td>@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, x => x.Years)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.SubjectCountLimit):
- </td>
- <td>@Html.TextBoxFor(x => x.SubjectCountLimit, new TextBoxOptions() { })
- </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.FacultymajorID):
- </td>
- <td colspan="3">@Html.CheckList(new ListControlOptions
- {
- ID = "FacultymajorID",
- Name = "FacultymajorID",
- TextField = "NameCode",
- ValueField = "FacultymajorID",
- ItemSourceUrl = Url.Content("~/Facultymajor/BindCheckList"),
- ColumnCount = 3
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function SubjectCountLimit_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
|