@model EMIS.ViewModel.CalendarManage.CoursesTimeView @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.CoursesTimeID)
@Html.LabelFor(x => x.StartTimes): @Html.TextBoxFor(x => x.StartTimes, new { style = "width:66px;" })-@Html.TextBoxFor(x => x.EndTimes, new { style = "width:66px;" }) @Html.LabelFor(x => x.TimesSegment): @Html.DropdownListFor(x => x.TimesSegment, new DropdownListOptions { ItemSourceUrl = Url.Content("~/Activitie/TimesSegmentDropdownListBanid"), TextField = "Text", ValueField = "Value" })
@Html.LabelFor(x => x.StartDate): @Html.TextBoxFor(x => x.StartHour, new { style = "width:66px;" }):@Html.TextBoxFor(x => x.StartMinutes, new { style = "width:66px;" }) @Html.LabelFor(x => x.EndDate): @Html.TextBoxFor(x => x.EndHour, new { style = "width:66px;" }):@Html.TextBoxFor(x => x.EndMinutes, new { style = "width:66px;" })
时间以24小时制(例如:下午2点应表示为14:00)
}
@section scripts{ }