From edd201eb3a43fdfdae2f278ce9e213181ffeb753 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期三, 09 十月 2024 17:19:34 +0800
Subject: [PATCH] update
---
jrj/project/business/Supplier3.list.cpp | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/jrj/project/business/Supplier3.list.cpp b/jrj/project/business/Supplier3.list.cpp
index 6a7c199..fc5f033 100644
--- a/jrj/project/business/Supplier3.list.cpp
+++ b/jrj/project/business/Supplier3.list.cpp
@@ -109,7 +109,7 @@
}
- int ViewUpdate(int pr, xstring updateItem, xaserverarg arg)
+ int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg)
{
if (updateItem == L"refresh")
{
@@ -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