123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- @model EMIS.ViewModel.SelectCourse.FreeSelectionCouseControlView
- @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"
- }))
- {
- <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 popupWindowContent">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td width="15%">@Html.LabelFor(x => x.SchoolyearID):
- </td>
- <td width="35%">@Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/SchoolYear/DropDownAfterCurrent") })
- </td>
- <td width="15%">@Html.LabelFor(x => x.GradeYear):
- </td>
- <td width="35%">@Html.SchoolYearDropDownListFor(x => x.GradeYear, new DropdownListOptions { SelectedValue = BaseExtensions.GetCurrentSchoolYearID() })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.StartTime):
- </td>
- <td>@Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
- </td>
- <td>@Html.LabelFor(x => x.EndTime):
- </td>
- <td>@Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.MinSelectCount):
- </td>
- <td>@(Html.TextBoxFor(x => x.MinSelectCount, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))门
- </td>
- <td>@Html.LabelFor(x => x.MaxSelectCount):
- </td>
- <td>@(Html.TextBoxFor(x => x.MaxSelectCount, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))门
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.MinCredit):
- </td>
- <td>@(Html.TextBoxFor(x => x.MinCredit, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))
- </td>
- <td>@Html.LabelFor(x => x.MaxCredit):
- </td>
- <td>@(Html.TextBoxFor(x => x.MaxCredit, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Remark):
- </td>
- <td colspan="3">@Html.TextAreaFor(x => x.Remark, new Dictionary<string, string> { { "style", "width:500px;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function FreeSelectCourseControl_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
|