@model EMIS.ViewModel.PaymentManage.WorktimeRateView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; ComboGridOptions optCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
工作量系数
@Html.ContextMenuBar("Edit")
@Html.LabelFor(x => x.PaymentLevelID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.TP_PaymentLevel, (x => x.PaymentLevelID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect }) @Html.LabelFor(x => x.CollegeID): @Html.ComboGridFor(x => x.CollegeID, optCollege)
@Html.LabelFor(x => x.StudentCountStart): @Html.TextBoxFor(x => x.StudentCountStart) @Html.LabelFor(x => x.StudentCountEnd): @Html.TextBoxFor(x => x.StudentCountEnd)
@Html.LabelFor(x => x.TeachingModeID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_TeachingMode, (x => x.TeachingModeID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect }) @Html.LabelFor(x => x.TeachingMethodID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EM_TeachingMethod, (x => x.TeachingMethodID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
@Html.LabelFor(x => x.WorktimeRate): @Html.TextBoxFor(x => x.WorktimeRate)
}