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/Deduction.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/jrj/project/business/AR/Deduction.cpp b/jrj/project/business/AR/Deduction.cpp
index e335ee7..4c29afa 100644
--- a/jrj/project/business/AR/Deduction.cpp
+++ b/jrj/project/business/AR/Deduction.cpp
@@ -150,6 +150,7 @@
 			AttachEvent(L"WM_SETFOCUS", (FEvent)&Deduction::OnSetFocus);
 			AttachEvent(L"dw_list", L"DWV_ROWFOCUSCHANGED", (FEvent)&Deduction::OnRowChanged);
 			AttachEvent(L"dw_list", L"DWV_ITEMCHANGED", (FEvent)&Deduction::OnItemChanged);
+			return 1;
 		}
 
 
@@ -158,7 +159,7 @@
 			xml x;
 			
 			xaserverarg arg ;
-			arg.setNativePointer(arg.CreateInstance());
+		
 			arg.AddArg(L"InvoiceNo", InvoiceNo);
 			arg.AddArg(L"InvoiceNoEx", GetControl(L"search").GetText());
 			arg.AddArg(L"EntityID", EntityID);
@@ -180,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