123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- @model EMIS.ViewModel.GraduationManage.GraduationSetting.GraduationSchoolYearView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- //var isEdit = (Request["graduationSchoolYearSettingID"] ?? "") == "";
- }
- @section scripts{
- <script src="~/Scripts/Business/GraduationManage/GraduationSetting/GraduationSchoolYearEdit.js" type="text/javascript"></script>
- <script type="text/javascript"> var nonSelect = "@DropdownList.SELECT_ALL";</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="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">
- <table cellpadding="0" cellspacing="0">
- @Html.HiddenFor(x => x.GraduationSchoolYearSettingID)
- <tr>
- <td>
- @Html.LabelFor(x => x.GraduatingSemesterCode):
- </td>
- <td>
- @Html.DropdownListFor((x => x.GraduatingSemesterID), new DropdownListOptions()
- {
- BindType = DropdownListBindType.PleaseSelect,
- //IsEnabled = isEdit,
- ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid")
- })
- </td>
- <td style="color: red;">
- @Html.LabelFor(x => x.IsEnable):
- </td>
- <td>
- @Html.CheckBoxFor(x => x.IsEnable)
- </td>
- </tr>
- <tr>
- <td style="color: red;">
- @Html.LabelFor(x => x.GraduateDate):
- </td>
- <td colspan="3">
- @Html.TextBoxFor(x => x.GraduateDate, new TextBoxOptions()
- {
- TextBoxType = TextBoxType.Date
- }, new Dictionary<string, string> { { "style", "width:56%;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|