From ee4e31fcf57b43d6324632ce193d239b8cdf3a87 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期五, 17 七月 2026 11:11:14 +0800
Subject: [PATCH] update
---
jrj/project/business/VATNotify/list.vatinvoice.cpp | 29 ++++++++++++++++++++++++-----
1 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/jrj/project/business/VATNotify/list.vatinvoice.cpp b/jrj/project/business/VATNotify/list.vatinvoice.cpp
index efbd86c..8b17c6f 100644
--- a/jrj/project/business/VATNotify/list.vatinvoice.cpp
+++ b/jrj/project/business/VATNotify/list.vatinvoice.cpp
@@ -52,22 +52,22 @@
return 1;
}
- xstring GetEntityName(int pr)
+ xstring GetEntityName(LPARAM pr)
{
return L"VATInvoice3";
}
- xstring GetEntityIDName(int /*param*/ pr)
+ xstring GetEntityIDName(LPARAM /*param*/ pr)
{
return L"VTAInvoiceID";
}
- xstring GetEntityID(int /*param*/ pr)
+ xstring GetEntityID(LPARAM /*param*/ pr)
{
return dw_list.GetItemString(dw_list.GetRow(),L"VATInvoiceID");
}
- int ViewUpdate(int pr,xstring updateItem,xaserverarg arg)
+ int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg arg)
{
if( updateItem==L"del")
{
@@ -164,6 +164,25 @@
else
OnRetrieve(DatePicker);
return 1;
+ }
+ else if (comdid == L"xmPic")
+ {
+ int row2 = dw_list.GetRow();
+ if (row2 < 1) return 1;
+ xstring ID = dw_list.GetGuid(dw_list.GetRow());
+ xaserverarg arg2;
+
+ if (ID.length() <= 0)
+ {
+ return 1;
+ }
+ trace(ID);
+ arg2.AddArg(L"entityid", ID);
+
+
+ OpenWindow(L"dev:xpage[maint.Document.Test.v3.vx]", arg2);
+
+ return 0;
}
else if(comdid.find(L"action:",0)>=0)
{
@@ -283,7 +302,7 @@
xml x ;
xaserverarg arg ;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"QueryTxt",xcontrol(GetControl(L"sle_search")).GetText());
arg.AddArg(L"QueryArg",GetQueryArg());
arg.AddArg(L"DatePicker",DatePicker);
--
Gitblit v1.9.3