From e7d957fdf6716f44d32ffe0631e61e0eb4f13d45 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期二, 05 十一月 2024 09:47:18 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- 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