@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
@Html.PositionCondition()
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "ddlSchoolyear", Name = "ddlSchoolyear", OnSelect = "reload", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() }, new Dictionary { { "data-condition", "dgFinanceReportList" } })
  • 收费时间起:
  • @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, ID = "txtPayTimeStart", Name = "txtPayTimeStart", OnChange = "startDateChanged" }, new Dictionary { { "data-condition", "dgFinanceReportList" } })
  • 收费时间止:
  • @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, ID = "txtPayTimeEnd", Name = "txtPayTimeEnd", OnChange = "endDateChanged" }, new Dictionary { { "data-condition", "dgFinanceReportList" } })
  • 项目名称:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/ChargeProject/ProjectDropdownList"), ID = "ddlExaminationProject", Name = "ddlExaminationProject", OnSelect = "reload", OnLoadSuccess = "reload" }, new Dictionary { { "data-condition", "dgFinanceReportList" } })
  • 开票人:
  • @Html.ComboGrid(new ComboGridOptions { ID = "cgbReceiver", Name = "cgbReceiver", TextField = "Name", ValueField = "UserID", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center } }, IsAutoLoad = true, DataSourceUrl = Url.Content("~/Staff/List"), IsPagination = true } }, new Dictionary { { "data-condition", "dgFinanceReportList" } })
财务报表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="ReceiptNo", HeaderText="收据号", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="PayTime", HeaderText="收费日期", Align=AlignStyle.Center, Formatter=Formatter.OnlyYearMonthDay }, new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationRegistrationConfirmNo", HeaderText="确认单号", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="项目", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="FeeTypeName", HeaderText="收费标准", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StudentCount", HeaderText="人数", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="AmountString", HeaderText="金额", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ReceiverName", HeaderText="开票人", Align=AlignStyle.Center } }, IsAutoLoad = true, DataSourceUrl = Url.Content("~/StudentFee/FinanceReport"), OnLoadSuccessFun = "gridLoaded", ID = "dgFinanceReportList", IsPagination = true })