@model EMIS.ViewModel.CalendarManage.SchoolYearView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ Layout = "~/Views/Shared/_Layout.cshtml"; ViewBag.Title = "Edit"; }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@*
学年学期信息
*@ @if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@Html.HiddenFor(x => x.SchoolYearID)
@Html.LabelFor(x => x.Code): @Html.TextBoxFor(x => x.Code) @Html.LabelFor(x => x.Years): @Html.TextBoxFor(x => x.Years)
@Html.LabelFor(x => x.SchoolcodeID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Semester, (x => x.SchoolcodeID)) @Html.LabelFor(x => x.WeeksNum): @Html.TextBoxFor(x => x.WeeksNum)
@Html.LabelFor(x => x.FirstWeek): @Html.TextBoxFor(p => p.FirstWeek, new TextBoxOptions { TextBoxType = TextBoxType.Date }) @Html.LabelFor(x => x.WeekDays): @Html.TextBoxFor(x => x.WeekDays)
@Html.LabelFor(x => x.IsCurrent): @Html.CheckBoxFor(x => x.IsCurrent)
}
@section scripts{ }