From 7ac57009ceb55a1d5968f14b5da52dfa4d03e89f Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期五, 18 十月 2024 13:55:22 +0800
Subject: [PATCH] update
---
jrj/project/business/Supplier3.list.cpp | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/jrj/project/business/Supplier3.list.cpp b/jrj/project/business/Supplier3.list.cpp
index 47dda23..fc5f033 100644
--- a/jrj/project/business/Supplier3.list.cpp
+++ b/jrj/project/business/Supplier3.list.cpp
@@ -244,7 +244,7 @@
xml x;
xaserverarg arg;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"guid", sguid);
arg.AddArg(L"EntityID", sguid);
// trace(sguid);
@@ -280,7 +280,7 @@
xml x;
xaserverarg arg;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"EntityID", entity);
@@ -413,23 +413,23 @@
}
if (comdid == L"action:bill.Annex")
{
- xaserverarg& arg = *new xaserverarg;
- arg.setNativePointer(arg.CreateInstance());
+ xaserverarg arg ;
+
arg.AddArg(L"entityid", dw_list.GetItemString(dw_list.GetRow(), L"SupplierID"));
arg.AddArg(L"ApplyStatus", dw_list.GetItemString(dw_list.GetRow(), L"ApplyStatus"));
- OpenWindow(L"dev:xpage[maint.Document.Supplier.v3.vx]", (LPARAM)&arg);
+ OpenWindow(L"dev:xpage[maint.Document.Supplier.v3.vx]", arg);
return 1;
}
if (comdid == L"action:bill.AnnexEx")
{
- xaserverarg& arg4 = *new xaserverarg;
- arg4.setNativePointer(arg4.CreateInstance());
+ xaserverarg arg4;
+
arg4.AddArg(L"entityid", dw_list.GetItemString(dw_list.GetRow(), L"SupplierID"));
//arg4.AddArg(L"ApplyStatus",dw_list.GetItemString(dw_list.GetRow(),L"ApplyStatus"));
//OpenWindow(L"dev:xpage[maint.Document.Customer.v3.vx]", p4);
- OpenWindow(L"dev:xpage[maint.Document.SupplierSD.v3.vx]", (LPARAM)&arg4);
+ OpenWindow(L"dev:xpage[maint.Document.SupplierSD.v3.vx]", arg4);
return 1;
}
if (comdid == L"action:bill.checked")
--
Gitblit v1.9.3