123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- @model EMIS.ViewModel.CultureplanManage.PlanManagement.SpecialtyPlanView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "GradeCopyList";
- }
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- function CopyByGrade_Confirm() {
- var BeForeYearID = $("#GrademajorBeForeYear").combobox("getValue");
- if (BeForeYearID == nonSelect) {
- $.messager.alert("系统提示", "请选择源年级!");
- return;
- }
- var AfterYearID = $("#GrademajorAfterYear").combobox("getValue");
- if (AfterYearID == nonSelect) {
- $.messager.alert("系统提示", "请选择目标年级!");
- return;
- }
- if (BeForeYearID > AfterYearID) {
- $.messager.alert("系统提示", "源年级要小于目标年级!");
- return;
- }
- $(document.forms[0]).submit();
- }
- </script>
- }
- <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"
- }))
- {
- <div class="p_title">
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("GradeCopy")</div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.PlanApplicationID)
- @Html.Hidden("SpecialtyCourse")
- <table cellpadding="0" cellspacing="0" id="planApplicationtable">
- <tr>
- <td style="width: 80px;">@Html.LabelFor(x => x.GrademajorBeForeYear):
- </td>
- <td>@Html.SchoolYearDropDownList(new DropdownListOptions
- {
- ID = "GrademajorBeForeYear",
- Name = "GrademajorBeForeYear",
- })
- </td>
- <td style="width: 80px;">@Html.LabelFor(x => x.GrademajorAfterYear):
- </td>
- <td>@Html.SchoolYearDropDownList(new DropdownListOptions
- {
- ID = "GrademajorAfterYear",
- Name = "GrademajorAfterYear",
- })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.IsOverwrite)
- </td>
- <td>@Html.CheckBoxFor((x => x.IsOverwrite))
- </td>
- <td>
-
- </td>
- <td>
-
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|