12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Print";
- var url = ViewBag.Url;
- }
- @section header {
- <style type="text/css" media="print">
- .noprint {
- display: none;
- }
- </style>
- }
- @section scripts{
- <script type="text/javascript" src="~/Scripts/Business/StudentFeeManage/Print.js"></script>
- }
- <div class="easyui-panel noprint" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <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("Print")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>
- @Html.Label("确认单号:")
- </td>
- <td>
- @Html.TextBox(new TextBoxOptions { ID = "txtConfirmNo", Name = "txtConfirmNo" }, new Dictionary<string, string> { { "data-condition", "dgStudentFeeDetailList" } })
- </td>
- <td>
- @Html.Label("总金额:")
- </td>
- <td>
- <span id="txtTotal"></span>
- @*@Html.TextBox(new TextBoxOptions { ID = "txtTotal", Name = "txtTotal", IsEnabled = false }, new Dictionary<string, string> { { "style", "color:red" } })*@
- </td>
- </tr>
- <tr>
- <td>
- @Html.Label("明细:")
- </td>
- <td colspan="3">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center, Width=150 },
- new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="项目名称", Align=AlignStyle.Center, Width=200 },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=70 },
- new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, Width=40 },
- new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center, Width=150 },
- new BoundFieldColumn { FieldName="FeeTypeName", HeaderText="报名项目", Align=AlignStyle.Center, Width=100 },
- new BoundFieldColumn { FieldName="Fee", HeaderText="应交金额", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit", Width=80 }
- },
- IsAutoLoad = false,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/StudentFee/StudentFeeDetail"),
- ID = "dgStudentFeeDetailList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- <iframe id="frmPrintDetail" width="0" height="0"></iframe>
|