From 26c872c4c2c1e56925f755e927b58fbe07da2bcb Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 19 七月 2024 13:56:44 +0800
Subject: [PATCH] update quote

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

diff --git a/jrj/project/business/AR/Deduction.cpp b/jrj/project/business/AR/Deduction.cpp
index fa0e386..cb4571d 100644
--- a/jrj/project/business/AR/Deduction.cpp
+++ b/jrj/project/business/AR/Deduction.cpp
@@ -159,12 +159,12 @@
 			xml x;
 			
 			xaserverarg arg ;
-			arg.setNativePointer(arg.CreateInstance());
+		
 			arg.AddArg(L"InvoiceNo", InvoiceNo);
-			arg.AddArg(L"InvoiceNoEx", GetControl(L"search").GetText());
+			arg.AddArg(L"InvoiceNoEx", xcontrol(GetControl(L"search")).GetText());
 			arg.AddArg(L"EntityID", EntityID);
 
-			trace(GetControl(L"search").GetText());
+			//trace(GetControl(L"search").GetText());
 			if (getUrl(L"/sale/data/AR/DeductionList", arg.GetString(), x) != 1)
 			{
 				trace(x.text());
@@ -181,6 +181,7 @@
 
 		int onload()
 		{
+			SetArg();
 			dw_list = GetControl(L"dw_list");
 			dw_list.openUrl(L"/sale/view/AR/template/Deduction");
 

--
Gitblit v1.9.3