From 5421f9a6e5e2b28cc32aa8aa6dec9becd0c1eb3c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 04 一月 2023 10:19:57 +0800
Subject: [PATCH] 业务经理意向和合作客户只能1000,90天意向不转合作就制空业务经理,查询没有业务经理的档案客户和合作客户
---
zhengcaioa/zhengcaioa/Views/CooperOrder/Index.cshtml | 29 ++++++++++++++++++-----------
1 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Index.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Index.cshtml
index 2627445..ee001a8 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Index.cshtml
@@ -35,7 +35,7 @@
shoulibool = false;
} else if (pageEntitiesJson[i].PageName == "鎾ゅ崟") {
chedanbool = false;
- } else if (pageEntitiesJson[i].PageName == "瀹屽伐") {
+ } else if (pageEntitiesJson[i].PageName == "纭璁㈠崟") {
wangongbool = false;
} else if (pageEntitiesJson[i].PageName == "閫佽揣") {
songhuobool = false;
@@ -55,10 +55,15 @@
{
label: '璁㈠崟鍙�', name: 'OrderNo', labtype: 'txt', hidden: false, width: 100,
formatter: function (cellvalue, options, rowObject) {
+ var color = "";
+ if (rowObject.OrderType == '08') {
+ color = "red";
+ }
+
if (rowObject.ShouliStatus == "A") {
- return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" >" + cellvalue + "</a>";
+ return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" ><span style='color:" + color + ";'>" + cellvalue + "</span></a>";
} else {
- return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" >" + cellvalue + "</a>";
+ return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" ><span style='color:" + color + ";'>" + cellvalue + "</span></a>";
}
}
@@ -83,6 +88,7 @@
{ label: '閲戦', name: 'Money', labtype: 'txt', hidden: false, width: 60 },
{ label: '璁㈠崟鐘舵��', name: 'ShouliStatusName', labtype: 'txt', hidden: false, width: 60 },
+ { label: '鍒跺崟浜�', name: 'CreaterName', labtype: 'txt', hidden: false, width: 60 },
{
label: '鍙楃悊', name: 'ShouliStatus', labtype: 'txt', hidden: shoulibool, width: 60,
formatter: function (cellvalue, options, rowObject) {
@@ -110,15 +116,15 @@
}
},
{
- label: '瀹屽伐', name: 'WangongStatusName', labtype: 'txt', hidden: true, width: 60,
+ label: '纭璁㈠崟', name: 'WangongStatusName', labtype: 'txt', hidden: false, width: 60,
formatter: function (cellvalue, options, rowObject) {
- if (rowObject.ShouliStatus == '4' || rowObject.ShouliStatus == '5' ) {
+ if (rowObject.WangongStatus == 'A' ) {
return "鈭�";
} else {
- if (rowObject.ShouliStatus == '1' || rowObject.ChedanStatus == 'A') {
+ if (rowObject.ShouliStatus == '1' || rowObject.ChedanStatus == 'A' || rowObject.OrderType != '08' ) {
return "";
} else {
- return "<a onclick=\"wangong('" + rowObject.Id + "')\" >瀹屽伐</a>";
+ return "<a onclick=\"wangong('" + rowObject.Id + "')\" >纭璁㈠崟</a>";
}
}
@@ -384,7 +390,7 @@
var index = layer.open({
type: 1,銆�銆�//鍩烘湰灞傜被鍨�
icon: 0, //鍥炬爣
- content: '纭瀹屽伐锛�', //鍐呭
+ content: '纭璁㈠崟锛�', //鍐呭
shade: 0.3, //閬僵,濡傛灉鎯冲畾涔夊埆鐨勯鑹�,鍙互shade:[0.5,'#fff']
shadeClose: 1, //鏄惁鐐瑰嚮閬僵鍏抽棴
skin: 'demoClass', //鏍峰紡绫诲悕
@@ -403,16 +409,16 @@
success: function (data) {
if (data.Result) {
- toastr.success("瀹屽伐鎴愬姛");
+ toastr.success("纭璁㈠崟");
window._reloadPageData();
} else {
- toastr.error("瀹屽伐澶辫触" + data.Message);
+ toastr.error("纭璁㈠崟澶辫触" + data.Message);
}
},
error: function () {
- toastr.error("瀹屽伐澶辫触");
+ toastr.error("纭璁㈠崟澶辫触");
}
});
},
@@ -474,6 +480,7 @@
}
+ jQuery("#jqGrid").jqGrid("footerData", "set", { KhdwName: "<font color='darkgoldenrod'>--褰撻〉鍚堣--</font> </br> <font color='darkgoldenrod'>--鍚堣--</font>", OrderNum: "<font color='darkgoldenrod'>" + xhr.DangyeHeji1 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji1 + "</font>", Price: "<font color='darkgoldenrod'>" + xhr.DangyeHeji2 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji2 + "</font>", Money: "<font color='darkgoldenrod'>" + xhr.DangyeHeji3 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji3 + "</font>", Youhui: "<font color='darkgoldenrod'>" + xhr.DangyeHeji4 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji4 + "</font>"});
};
</script>
--
Gitblit v1.9.1