From 15eb82df2d6ec539e9d4245bfe08d531e8eb6379 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期日, 27 四月 2025 14:33:26 +0800
Subject: [PATCH] 修改培训订单占多个座位
---
zhengcaioa/zhengcaioa/Views/FiOrderrecievemoney/Index.cshtml | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/FiOrderrecievemoney/Index.cshtml b/zhengcaioa/zhengcaioa/Views/FiOrderrecievemoney/Index.cshtml
index 9786f2f..9e9a993 100644
--- a/zhengcaioa/zhengcaioa/Views/FiOrderrecievemoney/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/FiOrderrecievemoney/Index.cshtml
@@ -16,7 +16,15 @@
{ label: 'id', name: 'Id', labtype: 'txt', hidden: true },
{ label: '涓嬪崟鏃堕棿', name: 'XdTimeName', labtype: 'txt', hidden: false, width: 80 },
{
- label: '璁㈠崟鍙�', name: 'OrderNo', labtype: 'txt', hidden: false, width: 80
+ label: '璁㈠崟鍙�', name: 'OrderNo', labtype: 'txt', hidden: false, width: 80,
+ formatter: function (cellvalue, options, rowObject) {
+ if (rowObject.ShouliStatus == "A") {
+ return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" >" + cellvalue + "</a>";
+ } else {
+ return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" >" + cellvalue + "</a>";
+ }
+
+ }
},
{ label: '鏁伴噺', name: 'OrderNum', labtype: 'txt', hidden: false, width: 50 },
@@ -24,7 +32,7 @@
{ label: '璁㈠崟绫诲瀷', name: 'OrderTypeName', labtype: 'txt', hidden: false, width: 50 },
{ label: '閲戦', name: 'Money', labtype: 'txt', hidden: false, width: 50 },
-
+ { label: '鍒跺崟浜�', name: 'CreaterName', labtype: 'txt', hidden: false, width: 60 },
{ label: '宸叉敹娆�', name: 'YishouMoney', labtype: 'txt', hidden: false, width: 50 },
{ label: '鏈敹娆�', name: 'WeishouMoney', labtype: 'txt', hidden: false, width: 50 },
{ label: '璁㈠崟鐘舵��', name: 'OrderStatus', labtype: 'txt', hidden: false, width: 60 },
@@ -93,6 +101,7 @@
}
+ jQuery("#jqGrid").jqGrid("footerData", "set", { OrderNo: "<font color='darkgoldenrod'>--褰撻〉鍚堣--</font> </br> <font color='darkgoldenrod'>--鍚堣--</font>", OrderNum: "<font color='darkgoldenrod'>" + xhr.DangyeHeji1 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji1 + "</font>", Money: "<font color='darkgoldenrod'>" + xhr.DangyeHeji2 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji2 + "</font>", YishouMoney: "<font color='darkgoldenrod'>" + xhr.DangyeHeji3 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji3 + "</font>", WeishouMoney: "<font color='darkgoldenrod'>" + xhr.DangyeHeji4 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji4 + "</font>" });
};
--
Gitblit v1.9.1