123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/StudentFeeManage/FinanceReport.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <form id="formQuery" method="post" action="@Url.Content("~/StudentFee/FinanceReportExcel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">学年学期:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"),
- ID = "ddlSchoolyear",
- Name = "ddlSchoolyear",
- OnSelect = "reload",
- SelectedValue = BaseExtensions.GetCurrentSchoolYearID()
- },
- new Dictionary<string, string> { { "data-condition", "dgFinanceReportList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">收费时间起:</li>
- <li class="sv">
- @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, ID = "txtPayTimeStart", Name = "txtPayTimeStart", OnChange = "startDateChanged" }, new Dictionary<string, string> { { "data-condition", "dgFinanceReportList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">收费时间止:</li>
- <li class="sv">
- @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, ID = "txtPayTimeEnd", Name = "txtPayTimeEnd", OnChange = "endDateChanged" }, new Dictionary<string, string> { { "data-condition", "dgFinanceReportList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">项目名称:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ItemSourceUrl = Url.Content("~/ChargeProject/ProjectDropdownList"),
- ID = "ddlExaminationProject",
- Name = "ddlExaminationProject",
- OnSelect = "reload",
- OnLoadSuccess = "reload"
- },
- new Dictionary<string, string> { { "data-condition", "dgFinanceReportList" } })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">开票人:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- ID = "cgbReceiver",
- Name = "cgbReceiver",
- TextField = "Name",
- ValueField = "UserID",
- OnSelect = "reload",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center }
- },
- IsAutoLoad = true,
- DataSourceUrl = Url.Content("~/Staff/List"),
- IsPagination = true
- }
- },
- new Dictionary<string, string> { { "data-condition", "dgFinanceReportList" } })
- </li>
- </ul>
- </div>
- </div>
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 财务报表
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
- </div>
- </form>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- 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
- })
- </div>
- </div>
|