zhengcaioa/zhengcaioa/Views/FiAccount/Index.cshtml
@@ -21,7 +21,13 @@
            { label: '总收入', name: 'AllIncome', labtype: 'txt', hidden: false },
            { label: '总支出', name: 'AllExpenses', labtype: 'txt', hidden: false },
            { label: '余额', name: 'Balance', labtype: 'txt', hidden: false },
            { label: '备注', name: 'Remark', labtype: 'txt', hidden: false },
            {
                label: '流水账', name: 'Remark', labtype: 'txt', hidden: false,
                formatter: function (cellvalue, options, rowObject) {
                    return "<a onclick=\"OpenWindow('" + rowObject.Accountname + "','98%','100%', '/FiAccount/Liushuizhang?id=" + rowObject.Id + "')\"  >流水账</a>";
                }
            },
            { label: '状态', name: 'RecStatus', labtype: 'txt', hidden: true },
            { label: '创建人', name: 'Creater', labtype: 'txt', hidden: true },
            { label: '创建时间', name: 'Createtimetxt', labtype: 'txt', hidden: true },
@@ -44,6 +50,21 @@
        }
        var _afterLoadDataload = function (xhr) {
            //var rows = jQuery("#jqGrid").jqGrid("getRowData"), total_shouru = 0, total_zhuchu = 0, total_yue = 0;
            //for (var i = 0, l = rows.length; i < l; i++) {
            //    total_shouru += (rows[i].AllIncome - 0);
            //    total_zhuchu += (rows[i].AllExpenses - 0);
            //    total_yue += (rows[i].Balance - 0);
            //}
            jQuery("#jqGrid").jqGrid("footerData", "set", { QiyongStatusName: "<font color='darkgoldenrod'>--当页合计--</font> </br>  <font color='darkgoldenrod'>--合计--</font>", AllIncome: "<font color='darkgoldenrod'>" + xhr.DangyeHeji1 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji1 + "</font>", AllExpenses: "<font color='darkgoldenrod'>" + xhr.DangyeHeji2 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji2 + "</font>", Balance: "<font color='darkgoldenrod'>" + xhr.DangyeHeji3 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji3 + "</font>"  });
        };
        var _afterSave = function (result) {
            if (result) {