From 9ac9cc9e9cd91b97d35a6e28400df71630765e40 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 21 八月 2024 14:35:51 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

---
 jrj/project/business/VATNotify/list.vatnotify.cpp |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/VATNotify/list.vatnotify.cpp b/jrj/project/business/VATNotify/list.vatnotify.cpp
index 82305aa..ec83227 100644
--- a/jrj/project/business/VATNotify/list.vatnotify.cpp
+++ b/jrj/project/business/VATNotify/list.vatnotify.cpp
@@ -70,7 +70,6 @@
 			if (colname == L"SONo")
 			{
 				xstring SONo = dw_list.GetItemString(row, colname.c_str());
-				;
 				
 				arg.AddArg(L"EntityNo", SONo);
 				arg.AddArg(L"ReadOnly", L"true");
@@ -79,7 +78,6 @@
 			if (colname == L"InvoiceNo")
 			{
 				xstring InvoiceNo = dw_list.GetItemString(row, colname.c_str());
-				;
 				
 				arg.AddArg(L"EntityNo", InvoiceNo);
 				arg.AddArg(L"ReadOnly", L"true");
@@ -90,7 +88,7 @@
 
 		int OnPrint()
 		{
-			xaserverarg& arg = *new xaserverarg;
+			xaserverarg arg ;
 			
 			arg.AddArg(L"EntityName", L"VATNotify");
 			arg.AddArg(L"EntityID", L"", L"");
@@ -110,13 +108,13 @@
 			arg.AddArg(L"VATNotifyID", L"");
 			trace(InvoiceNo + L"==1" + NInvoiceNoEx + L"==2" + SupplierID + L"==3" + dw_list.GetGuid(dw_list.GetRow()));
 			
-			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
+			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
 			return 1;
 		}
 
 		int OnPrintItem()
 		{
-			xaserverarg& arg = *new xaserverarg;
+			xaserverarg arg;
 			
 			arg.AddArg(L"EntityName", L"VATNotify");
 			arg.AddArg(L"EntityID", L"", L"");
@@ -136,7 +134,7 @@
 			arg.AddArg(L"VATNotifyID", dw_list.GetGuid(dw_list.GetRow()));
 			trace(L"=====L" + InvoiceNo + L"=====L" + SupplierID + L"=====L" + dw_list.GetGuid(dw_list.GetRow()));
 			
-			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
+			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
 			return 1;
 		}
 

--
Gitblit v1.9.3