| | |
| | | <script type="text/javascript"> |
| | | var accounttype = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.accounttype))'; |
| | | var FiSubject = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.FiSubject))'; |
| | | loseherght = 60; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true, width: 60}, |
| | | { label: '账户类型', name: 'AccounttypeName', labtype: 'txt', hidden: false, width: 60 }, |
| | |
| | | { label: '收入金额', name: 'Money', labtype: 'txt', hidden: false, width: 60}, |
| | | { label: '账户余额', name: 'AccountMoney', labtype: 'txt', hidden: false, width: 60}, |
| | | { label: '交款人(单位)', name: 'PaymentUnit', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '摘要', name: 'OperationalMatters', labtype: 'txt', hidden: false, width: 200}, |
| | | { label: '操作人', name: 'CreaterName', labtype: 'txt', hidden: false, width: 60 }, |
| | | { label: '摘要', name: 'OperationalMatters', labtype: 'txt', hidden: false, width: 200 }, |
| | | { label: '订单号', name: 'Remark', labtype: 'txt', hidden: false, width: 60 }, |
| | | { label: '操作时间', name: 'CreatetimeName', labtype: 'txt', hidden: false, width: 100}, |
| | | { |
| | | label: '操作', name: 'RecStatus', labtype: 'txt', hidden: false , |
| | |
| | | { label: '账户名称', name: 'AccountId', labtype: 'combox', hidden: false, data: JSON.parse('[]'),}, |
| | | { label: '科目名称', name: 'SubjectId', labtype: 'combox', hidden: false, data: JSON.parse(FiSubject) }, |
| | | { label: '摘要', name: 'OperationalMatters', labtype: 'txt', hidden: false }, |
| | | |
| | | { label: '订单号', name: 'Remark', labtype: 'txt', hidden: false }, |
| | | { label: '付款人(单位)', name: 'PaymentUnit', labtype: 'txt', hidden: false }, |
| | | { label: '操作人', name: 'CreaterName', labtype: 'txt', hidden: false }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ]; |
| | |
| | | toastr.error("删除成功"); |
| | | /**/ |
| | | } |
| | | } |
| | | } |
| | | var _afterLoadDataload = function (xhr) { |
| | | //console.info(xhr); |
| | | //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", { SubjectName: "<font color='darkgoldenrod'>--当页合计--</font> </br> <font color='darkgoldenrod'>--合计--</font>", Money: "<font color='darkgoldenrod'>" + xhr.DangyeHeji1 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji1 + "</font>" }); |
| | | |
| | | |
| | | |
| | | }; |
| | | </script> |
| | | } |
| | | |