From d9a3310323b9f8767ade1a115239577ea8772c17 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期一, 08 七月 2024 22:05:12 +0800 Subject: [PATCH] total win --- jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp index d4836ac..37be418 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); @@ -737,6 +737,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