From 36c8ab4bf87157a831dea2a7dd1d89f7d8411cdc Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 08 七月 2024 17:25:15 +0800
Subject: [PATCH] analysis

---
 jrj/project/business/VATNotify/simple.maint.vatnotify.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
index 21fb64f..45a6d6a 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());
 
 
@@ -685,6 +685,7 @@
 			AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&simplemaintvatnotifyWin::OnRowChanged);
 			AttachEvent(L"dw_item", L"DWV_ASKDATA", (FEvent)&simplemaintvatnotifyWin::OnAskDataItem);
 			AttachCloseWindow();
+			return 1;
 		}
 
 		int RetrieveFob(xstring InvoiceNo, bool start = false)
@@ -829,6 +830,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