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/simple.maint.vatnotify.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp index c137345..a9e96be 100644 --- a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp +++ b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp @@ -369,7 +369,7 @@ { xml x ; - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg ; arg.AddArg(L"ClassifyID", ClassifyID); arg.AddArg(L"InvoiceNo", InvoiceNo); arg.AddArg(L"InvoiceExcept", InvoiceNoExcept); @@ -390,7 +390,7 @@ { xml x ; - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg ; arg.AddArg(L"ClassifyID", ClassifyID); arg.AddArg(L"InvoiceNo", InvoiceNo); arg.AddArg(L"InvoiceExcept", InvoiceNoExcept); @@ -607,7 +607,7 @@ dw_item.AcceptText(); dw_item.DwUpdateAllToEx(x); - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg ; arg.AddArg(L"content", x.xml()); @@ -730,10 +730,9 @@ { KXMLDOMElement e = lst.item(i); docElement.appendChild(e); - e.Release(); + } - docElement.Release(); - lst.Release(); + dw_fob.Retrieve(x1); } else @@ -830,6 +829,7 @@ int onload() { + SetArg(); dw_item = GetControl(L"dw_item"); dw_item.openUrl(L"/sale/view/VATNotify/template/VATNotify/item"); dw_item.SetColumnState(L"InvoiceNo", false); -- Gitblit v1.9.3