From de9349d5502e956b09cebccb2c9dbb66f62a42f0 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 15 七月 2024 17:34:05 +0800
Subject: [PATCH] update
---
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