@model EMIS.ViewModel.ChargeManage.ChargeSituation.ChargeDelayView @using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "Approve"; var isEdit = (Request["ChargeDelayID"] ?? "") == ""; //学生信息 ComboGridOptions cgopStudent = new ComboGridOptions { TextField = "LoginID", ValueField = "UserID", IsEnabled = isEdit, GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Width=0.25, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Width=0.15, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Students/BaseStudentViewList"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; //收费项目 ComboGridOptions cgopChargeProject = new ComboGridOptions { TextField = "ChrageProjectName", ValueField = "ChargeProjectID", ID = "ChargeProjectComboGrid", Name = "ChargeProjectComboGrid", IsEnabled = isEdit, GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="ChrageProjectName", HeaderText="收费项目", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ChargeProject/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @{ var listAction = ViewBag.ListAction as List; var defaultAction = listAction.FirstOrDefault(x => true); var defaultActionValue = (defaultAction == null ? null : defaultAction.Value); } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("Approve")
@Html.HiddenFor(x => x.ChargeDelayID)
@Html.LabelFor(x => x.StudentNo): @Html.ComboGridFor(x => x.UserID, cgopStudent) @Html.LabelFor(x => x.UserName): @Html.TextBoxFor(x => x.UserName, new TextBoxOptions() { IsEnabled = false })
@Html.LabelFor(x => x.ChargeYear): @Html.SchoolYearDropDownListFor(x => x.ChargeYear, new DropdownListOptions { OnSelect = "queryChargeDelayStandard", IsEnabled = isEdit }) @Html.LabelFor(x => x.ChargeProjectStr): @Html.ComboGridFor((x => x.ChargeProjectID), cgopChargeProject)
@Html.LabelFor(x => x.Amount): @Html.TextBoxFor(x => x.Amount, new TextBoxOptions() { IsEnabled = false }) @Html.LabelFor(x => x.ChargeTag): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EC_ChargeTag, x => x.ChargeTag, new DropdownListOptions() { IsEnabled = false })
@Html.LabelFor(x => x.ChargeAmount): @Html.TextBoxFor(x => x.ChargeAmount, new TextBoxOptions() { IsEnabled = false }) @Html.LabelFor(x => x.ActualAmount): @Html.TextBoxFor(x => x.ActualAmount, new TextBoxOptions() { IsEnabled = false })
@Html.LabelFor(x => x.PaidAmount): @Html.TextBoxFor(x => x.PaidAmount, new TextBoxOptions() { IsEnabled = false }) @Html.LabelFor(x => x.PassDelayAmount): @Html.TextBoxFor(x => x.PassDelayAmount, new TextBoxOptions() { IsEnabled = false })
@Html.LabelFor(x => x.CanDelayAmount): @Html.TextBoxFor(x => x.CanDelayAmount, new TextBoxOptions() { IsEnabled = false }) @Html.LabelFor(x => x.ApplyDelayAmount): @Html.TextBoxFor(x => x.ApplyDelayAmount, new TextBoxOptions() { IsEnabled = false })
@Html.LabelFor(x => x.DelayAmount): @*@Html.RadioButton("Delaychoose", true)*@ @Html.TextBoxFor(x => x.DelayAmount, new TextBoxOptions() { IsEnabled = false }) @Html.LabelFor(x => x.DelayPercent): @*@Html.RadioButton("Delaychoose", true)*@ @Html.TextBoxFor(x => x.DelayPercent, new TextBoxOptions() { IsEnabled = false })%
@Html.LabelFor(x => x.Reason): @Html.TextAreaFor(x => x.Reason ,new Dictionary { { "style", "width: 90%;min-height: 40px" }, { "disabled", "true" } })
@Html.LabelFor(x => x.Action): @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "ddlAction", Name = "ddlAction", ItemList = listAction, SelectedValue = defaultActionValue })
处理意见: @Html.TextAreaFor(x => x.Comment, new Dictionary { { "style", "width: 90%;min-height: 50px" } })
}