12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- @model EMIS.ViewModel.ChargeManage.ChargeSituation.ChargeStandardView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "StudentChargeList";
- Guid? grademajorID = new Guid(Request["grademajorID"]);
- int? chargeYearID = Convert.ToInt32(Request["chargeYearID"]);
- Guid? chargeProjectID = new Guid(Request["chargeProjectID"]);
- int? inschoolStatus = Convert.ToInt32(Request["inschoolStatus"]);
- }
- @section scripts{
- <script src="~/Scripts/Business/ChargeManage/ChargeSituation/ChargeStandard.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- function StudentCharge_Export() {
- $("#formQuery").submit();
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <form id="formQuery" method="post" action="@Url.Content("~/ChargeStandard/GrademajorStudentChargeExcel?grademajorID=" + grademajorID + "&chargeYearID=" + chargeYearID + "&chargeProjectID=" + chargeProjectID + "&inschoolStatus=" + inschoolStatus)">
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("ChaDetail")</div>
- </form>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn { FieldName="UserID" },
- new BoundFieldColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center,Width=0.1 },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center,Width=0.04 },
- new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center,Width=0.02 },
- new BoundFieldColumn { FieldName="ClassName", HeaderText="班级名称", 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.06 },
- new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center,Width=0.04 },
- //new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center,Width=0.04 },
- new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center,Width=0.03, OverflowLength=5 }
- },
- PageSize = 30,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ChargeStandard/StudentChargeList?grademajorID=" + grademajorID + "&chargeYearID=" + chargeYearID + "&chargeProjectID=" + chargeProjectID + "&inschoolStatus=" + inschoolStatus),
- IsPostBack = true,
- ID = "dgStudentChargeList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|