From 82d21bb5c6d0dedc5599a5cf61d19c7eee1f7ef5 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 08 七月 2024 10:03:44 +0800
Subject: [PATCH] update

---
 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