From 827b416782eda317a6b24e0afb88c788e483b86d Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 22 八月 2022 15:58:31 +0800 Subject: [PATCH] 财务修改单页统计,摘要订单号 --- zhengcaioa/zhengcaioa/Views/FiAccount/Liushuizhang.cshtml | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/FiAccount/Liushuizhang.cshtml b/zhengcaioa/zhengcaioa/Views/FiAccount/Liushuizhang.cshtml index 0675390..c0744bc 100644 --- a/zhengcaioa/zhengcaioa/Views/FiAccount/Liushuizhang.cshtml +++ b/zhengcaioa/zhengcaioa/Views/FiAccount/Liushuizhang.cshtml @@ -5,6 +5,7 @@ @section headerStyle{ <script type="text/javascript"> 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 }, @@ -18,7 +19,9 @@ { label: '璐︽埛浣欓', name: 'AccountMoney', labtype: 'txt', hidden: false, width: 60 }, { label: '閮ㄩ棬', name: 'Department', 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 , @@ -33,7 +36,7 @@ { 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 }, @@ -61,7 +64,20 @@ 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", { RecordTypeName: "<font color='darkgoldenrod'>--褰撻〉鍚堣--</font> </br> <font color='darkgoldenrod'>--鍚堣--</font>", Money: "<font color='darkgoldenrod'>" + xhr.DangyeHeji1 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji1 + "</font>" }); + + + + }; </script> } -- Gitblit v1.9.1