From 502ef949a7f5f681225695c116a40ccc8d438434 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 08 七月 2024 11:16:36 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

---
 jrj/project/business/AR/CustomerTran.AR.cpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/jrj/project/business/AR/CustomerTran.AR.cpp b/jrj/project/business/AR/CustomerTran.AR.cpp
index 3b8d3e4..6c80af8 100644
--- a/jrj/project/business/AR/CustomerTran.AR.cpp
+++ b/jrj/project/business/AR/CustomerTran.AR.cpp
@@ -132,7 +132,7 @@
 			xml x;
 			
 			xaserverarg arg ;
-			arg.setNativePointer(arg.CreateInstance());
+		
 			dw_list.DwUpdateAllToEx(x);
 			arg.AddArg(L"content", x.xml());
 			if (getUrl(L"/sale/data/AR/update/tran/customer", arg.GetString(), x) != 1)
@@ -152,8 +152,8 @@
 		{
 			xml x;
 			
-			xaserverarg arg ;
-			arg.setNativePointer(arg.CreateInstance());
+			xaserverarg arg =GetArg();
+			
 			if (getUrl(L"/sale/data/AR/tran/customer", arg.GetString(), x) != 1)
 			{
 				trace(x.text());
@@ -169,6 +169,7 @@
 
 		int onload()
 		{
+			SetArg();
 			dw_list = GetControl(L"dw_list");
 			dw_list.openUrl(L"/sale/view/AR/template/customertran");
 			dw_list.SetAskStyle(true);

--
Gitblit v1.9.3