From 0a9a7113e7f8f07e79e8bfa65efb0a513a81a4d6 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 08 七月 2024 17:26:00 +0800
Subject: [PATCH] update
---
jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
index a308683..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);
@@ -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)
@@ -736,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