From 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 17 七月 2024 17:50:35 +0800 Subject: [PATCH] base code --- jrj/project/printview/Template.Print.Dialog.cpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/jrj/project/printview/Template.Print.Dialog.cpp b/jrj/project/printview/Template.Print.Dialog.cpp index f6cc784..7b58fbd 100644 --- a/jrj/project/printview/Template.Print.Dialog.cpp +++ b/jrj/project/printview/Template.Print.Dialog.cpp @@ -286,7 +286,7 @@ dw_list.DwUpdateAllToEx(x); xaserverarg arg; - arg.setNativePointer(xaserverarg::CreateInstance()); + arg.AddArg(L"content", x.xml()); if (xurl::get(L"/sale/data/SysPrintTemplate/updateinfo", arg.GetString(), x) != 1) @@ -473,11 +473,10 @@ m_EntityNo = arg_param.GetArgString(L"EntityNo"); xaserverarg arg; - arg.setNativePointer(xaserverarg::CreateInstance()); arg.AddArg(L"EntityName", m_EntityName); arg.AddArg(L"EntityID", m_EntityID); arg.AddArg(L"EntityNo", m_EntityNo); - xml x = new xml; + xml x ; if (xurl::get(L"/sale/data/DocumentList3/bill/doclist", arg.GetString(), x) != 1) { @@ -510,7 +509,6 @@ { SetArg(); responsewin::onload(); - /*if (GetParam()) { xstring action = arg_param.GetArgString(L"action"); -- Gitblit v1.9.3