@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @using EMIS.Utility; @{ ViewBag.Title = "List"; //收费项目 ComboGridOptions cgopChargeProject = new ComboGridOptions { TextField = "ChrageProjectName", ValueField = "ChargeProjectID", ID = "ChargeProjectComboGrid", Name = "ChargeProjectComboGrid", OnSelect = "reload", 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 } }; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • 缴费学年:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ChargeYearDropDown", Name = "ChargeYearDropDown", OnSelect = "reload", SelectedValue = BaseExtensions.GetCurrentYearID() }, new Dictionary { { "data-condition", "dgStudentChargeDelayList" } })
  • 收费项目:
  • @Html.ComboGrid(cgopChargeProject, new Dictionary { { "data-condition", "dgStudentChargeDelayList" } })
  • 状态:
  • @Html.DropdownList(new DropdownListOptions { ID = "DictionaryChargeDelayStatus", Name = "DictionaryChargeDelayStatus", BindType = DropdownListBindType.SelectAll, //SelectedValue = BaseExtensions.GetStartFlowStatus(typeof(EMIS.Entities.EC_ChargeDelay).Name), ItemSourceUrl = Url.Content("~/Common/ApproveStatusDropDown?tableName=" + typeof(EMIS.Entities.EC_ChargeDelay).Name), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentChargeDelayList" } })
缓交申请列表
@Html.ContextMenuBar("List")
@*@Html.PositionBatchModify()*@
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ChargeDelayID" }, //new LinkButtonColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center, Handle="edit", Width=0.1 }, //new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ClassName", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.12 }, //new BoundFieldColumn { FieldName="GradeMajoyStr", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.12 }, new BoundFieldColumn { FieldName="CollegeStr", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="ChargeYear", HeaderText="缴费学年", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ChargeProjectStr", HeaderText="收费项目", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="Amount", HeaderText="应收金额", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="ChargeAmount", HeaderText="调整金额", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ActualAmount", HeaderText="实收金额", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="ChargeTagName", HeaderText="缴费标记", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="PaidAmount", HeaderText="已缴金额", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetAmountColumn" }, new BoundFieldColumn { FieldName="DelayAmount", HeaderText="缓交金额", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetAmountColumn" }, new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CreateTime",HeaderText="申请日期", Align=AlignStyle.Center, Width=0.08, Formatter=Formatter.OnlyYearMonthDay }, new BoundFieldColumn { FieldName="Reason", HeaderText="缓交原因", Align=AlignStyle.Center, Width=0.04, OverflowLength=10 }, new ApproveStatusColumn { FieldName="RecordStatusName", TableName=typeof(EMIS.Entities.EC_ChargeDelay).Name, IDFieldName="ChargeDelayID", HeaderText="状态", Align=AlignStyle.Center, Width=0.04 } }, PageSize = 30, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/StudentChargeDelay/List"), ID = "dgStudentChargeDelayList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })