From ce22455f57f11a3f7f1f8c8d03c243957ae26ad1 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期五, 19 七月 2024 18:42:50 +0800
Subject: [PATCH] update
---
jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
index a308683..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);
@@ -599,6 +599,7 @@
AttachEvent(L"dw_fob", L"DWV_ITEMCHANGED", (FEvent)&maintpapercardvatnotifyWin::OnFobItemChanged);
AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&maintpapercardvatnotifyWin::OnRowChanged);
AttachEvent(L"dw_item", L"DWV_ASKDATA", (FEvent)&maintpapercardvatnotifyWin::OnAskDataItem);
+ return 1;
}
int RetrieveFob(xstring InvoiceNo, bool start = false)
@@ -643,10 +644,9 @@
{
KXMLDOMElement e = lst.item(i);
docElement.appendChild(e);
- e.Release();
+
}
- docElement.Release();
- lst.Release();
+
dw_fob.Retrieve(x1);
}
else
@@ -736,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