From 378d4b51e3112a3a27eabfd3aa97caec2bd5dafd Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 05 七月 2024 17:17:50 +0800 Subject: [PATCH] update --- jrj/project/business/quote.enquiry.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jrj/project/business/quote.enquiry.cpp b/jrj/project/business/quote.enquiry.cpp index 0a22ed5..01ad4b3 100644 --- a/jrj/project/business/quote.enquiry.cpp +++ b/jrj/project/business/quote.enquiry.cpp @@ -12,7 +12,7 @@ #include "viewobject/view.base.hpp" #include "viewobject/quote.view.hpp" -using xml = KXMLDOMDocument;xxxx +using xml = KXMLDOMDocument; class __declspec(dllexport) QuoteFileView : public xframe { @@ -901,7 +901,7 @@ int ProcessSendMessage(xstring myurl, xstring param, xstring content, xstring datacontent, bool balert = false) { xaserverarg arg ; - arg.setNativePointer(xaserverarg::CreateInstance()); + arg.AddArg(L"myurl", myurl); arg.AddArg(L"param", param); arg.AddArg(L"content", content); @@ -970,7 +970,7 @@ xml x ; xaserverarg arg ; - arg.setNativePointer(xaserverarg::CreateInstance()); + xstring empno; KXMLDOMNode n = purcher.selectSingleNode(L"//HrEmployee[Name='"+purchor+L"']/UserNo"); @@ -4958,7 +4958,7 @@ if (action != L"purch") return 1; xstring content = GetMySupplier(); xaserverarg arg ; - arg.setNativePointer(xaserverarg::CreateInstance()); + arg.AddArg(L"value", content); OpenWindow(L"dev:xpage[QuoteSupplierItem.vx]", arg); @@ -4969,7 +4969,7 @@ { xml x ; xaserverarg arg ; - arg.setNativePointer(xaserverarg::CreateInstance()); + arg.AddArg(L"Name", name); if (getUrl(L"/sale/data/SupplierV3/HasParty", arg.GetString(), x) != 1) { @@ -4985,7 +4985,7 @@ { xml purcher ; xaserverarg arg ; - arg.setNativePointer(xaserverarg::CreateInstance()); + arg.AddArg(L"id", L"采购员"); if (getUrl(L"/sale/data/Quote/Purcher", arg.GetString(), purcher) != 1) { -- Gitblit v1.9.3