123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- @model EMIS.ViewModel.MinorManage.MinorClass.MinorClassView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/MinorManage/MinorClass/MinorClassEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- function Library_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
- <style type="text/css">
- </style>
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/MinorClass/Edit", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- @Html.HiddenFor(x => x.ClassminorID)
- <div class="p_title">
- @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 辅修班级</div>*@
- @if (Request["isView"] != "1")
- {
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- }
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0" id="stafftable">
- <tr>
- <td>@Html.LabelFor(x => x.GradeYearID):
- </td>
- <td>@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Grade, x => x.GradeYearID)
- </td>
- <td>@Html.LabelFor(x => x.Name):
- </td>
- <td>@Html.TextBoxFor(x => x.Name)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.GrademinorID):
- </td>
- <td>@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Standard, x => x.StandardID, new DropdownListOptions { ID = "StandardID", Name = "StandardID", OnSelect = "StandardSelect" }, new Dictionary<string, string> { { "data-condition", "dgMinorStandardList" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|