From 7b9852bfcdc82dc334ad59ba14259c69f54149dc Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期二, 01 九月 2026 11:23:16 +0800
Subject: [PATCH] update
---
jrj/project/business/Customer3.maint.cpp | 30 +++++++++++++++++++++++++++---
1 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/Customer3.maint.cpp b/jrj/project/business/Customer3.maint.cpp
index 10451b2..a36d388 100644
--- a/jrj/project/business/Customer3.maint.cpp
+++ b/jrj/project/business/Customer3.maint.cpp
@@ -768,6 +768,21 @@
OnShareMessage();
return 0;
}
+ if (comdid == L"action:bill.check.ask")
+ {
+ int row = dw_detail.GetRow();
+ if (row < 1) return 0;
+ xstring PartyID = dw_detail.GetItemString(row, L"PartyID");
+ KXMLDOMDocument xx3 = ViewObject::RetrieveData(L"/sale/data/CustomerV3/entity/GetCustomerResults", L"CustomerID", PartyID);
+
+ xstring Results3 = xx3.text();
+
+ if (Results3 != L"")
+ {
+ alert(Results3);
+ return 0;
+ }
+ }
// else if (comdid.find(L"action:",0) >= 0) return OnAction(comdid);
return -1;
}
@@ -892,7 +907,7 @@
if(value == L"客户资料附件")
{
- if(userno == L"admin" || userno == L"00601" || userno == L"00618" || userno == L"00701")
+ if(userno == L"admin" || userno == L"00601" || userno == L"00618" || userno == L"00701" || userno == L"00620")
{
//alert(dw_detail.GetGuid(1));
arg.AddArg(L"entityid",dw_detail.GetGuid(1));
@@ -901,6 +916,15 @@
return 1;
}
}
+ if (value == L"信保回复附件")
+ {
+ arg.AddArg(L"entityid", dw_detail.GetGuid(1));
+ arg.AddArg(L"ApproveStatus", L"新建");
+ OpenWindow(L"dev:xpage[maint.Document.SampleRequestForm.vx]", (LPARAM)&arg);
+ return 1;
+
+ }
+
if(value == L"客户基本信息")
{
xaserverarg arg1 = GetArg();
@@ -1209,7 +1233,7 @@
{
//xstring userno = publiccode::getUserNo();
userno = xaserver::GetUserNo();
- if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618")
+ if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618" || userno == L"00620")
{
dw_detail.SetColumnProp(L"SalesPersonID",L"cellprotect",L"1");
@@ -1248,7 +1272,7 @@
ApplyStatus=dw_detail.GetItemString(1,L"ApplyStatus");
- if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618")
+ if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618" || userno == L"00620")
{
if(ApplyStatus ==L"已审核")
{
--
Gitblit v1.9.3