| | |
| | | <script type="text/javascript"> |
| | | var kechengleixing = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.kechengleixing))'; |
| | | gridConfig = { multiselect: true, selectcol: "Id" }; |
| | | loseherght = 40; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | |
| | |
| | | { label: '身份证', name: 'Shenfenzheng', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '学费', name: 'Xuefei', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '报名人数', name: 'Baomingrenshu', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '金额', name: 'Jine', labtype: 'txt', hidden: false, width: 100 }, |
| | | //{ label: '金额', name: 'Jine', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | |
| | | ]; |
| | |
| | | // OpenWindow("新增班次", "98%", "90%", "/OrderBanciOrder/Edit/"); |
| | | //} |
| | | |
| | | var _afterLoadData = function () { |
| | | |
| | | var rows = jQuery("#jqGrid").jqGrid("getRowData"), total_Xuefei = 0, total_Baomingrenshu = 0; |
| | | for (var i = 0, l = rows.length; i < l; i++) { |
| | | total_Xuefei += (rows[i].Xuefei - 0); |
| | | total_Baomingrenshu += (rows[i].Baomingrenshu - 0); |
| | | } |
| | | |
| | | jQuery("#jqGrid").jqGrid("footerData", "set", { Shenfenzheng: "<font color='darkgoldenrod'>--合计--</font>", Xuefei: "<font color='darkgoldenrod'>" + total_Xuefei + "</font>", Baomingrenshu: "<font color='darkgoldenrod'>" + total_Baomingrenshu + "</font>" }); |
| | | |
| | | |
| | | }; |
| | | |
| | | |
| | | var _afterSave = function (result) { |