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/business/VATNotify/maint.papercard.vatnotify.cpp | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp index d4836ac..632263a 100644 --- a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp +++ b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp @@ -327,7 +327,7 @@ { xml x ; - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg; arg.AddArg(L"ClassifyID", ClassifyID); arg.AddArg(L"InvoiceNo", InvoiceNo); arg.AddArg(L"InvoiceExcept", InvoiceNoExcept); @@ -348,7 +348,7 @@ { xml x ; - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg; arg.AddArg(L"ClassifyID", ClassifyID); arg.AddArg(L"InvoiceNo", InvoiceNo); arg.AddArg(L"InvoiceExcept", InvoiceNoExcept); @@ -530,7 +530,7 @@ dw_item.AcceptText(); dw_item.DwUpdateAllToEx(x); - xml x0 = ViewObject::MakeXml(); + xml x0; x0.loadXML(L"<root/>"); KXMLDOMNodeList t = x.selectNodes(L"root/item[@update.modify]"); @@ -540,7 +540,7 @@ { e1.appendChild(t.item(i)); } - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg; arg.AddArg(L"content", x0.xml()); //trace(x.xml); @@ -644,10 +644,9 @@ { KXMLDOMElement e = lst.item(i); docElement.appendChild(e); - e.Release(); + } - docElement.Release(); - lst.Release(); + dw_fob.Retrieve(x1); } else @@ -737,6 +736,7 @@ int onload() { + SetArg(); dw_item = GetControl(L"dw_item"); dw_item.openUrl(L"/sale/view/VATNotify/template/VATNotify/item"); dw_item.SetColumnState(L"CName", false); -- Gitblit v1.9.3