123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- @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<DataGridColumn>()
- {
-
- new BoundFieldColumn { FieldName="ChrageProjectName", HeaderText="收费项目", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ChargeProject/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
-
- }
- @section scripts{
- <script src="~/Scripts/Business/ChargeManage/ChargeSituation/StudentChargeDelay.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- //开始环节状态
- var startStatusID = "@BaseExtensions.GetStartFlowStatus("EC_ChargeDelay")";
- //结束环节状态
- var endStatusID = "@BaseExtensions.GetEndFlowStatus("EC_ChargeDelay")";
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position:relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件</div>
- </div>
- <form id="formQuery" method="post" action="@Url.Content("~/StudentChargeDelay/Excel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">缴费学年:</li>
- <li class="sv">
- @Html.SchoolYearDropDownList(new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ID = "ChargeYearDropDown",
- Name = "ChargeYearDropDown",
- OnSelect = "reload",
- SelectedValue = BaseExtensions.GetCurrentYearID()
- },
- new Dictionary<string, string> { { "data-condition", "dgStudentChargeDelayList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">收费项目:</li>
- <li class="sv">
- @Html.ComboGrid(cgopChargeProject, new Dictionary<string, string> { { "data-condition", "dgStudentChargeDelayList" } })
- </li>
- <li class="sn" style="padding-left: 5px; color: red;">状态:</li>
- <li class="sv">
- @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<string, string> { { "data-condition", "dgStudentChargeDelayList" } })
- </li>
- </ul>
- </div>
- </div>
- </form>
- <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>
- @*@Html.PositionBatchModify()*@
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- 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
- })
- </div>
- </div>
|