From 9a971ce70ed71f3cabdb3847ad43b8c61950d171 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 04 十一月 2021 16:31:57 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Index.cshtml | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Index.cshtml b/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Index.cshtml
index 8642fc4..e25057b 100644
--- a/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Index.cshtml
@@ -6,6 +6,7 @@
<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 },
@@ -23,7 +24,7 @@
{ 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 },
];
@@ -45,7 +46,18 @@
// 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) {
--
Gitblit v1.9.1