From e3f724c9fd36995c207a6ed173849c20aaa2e3d7 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 17 十二月 2024 13:06:22 +0800
Subject: [PATCH] update

---
 jrj/project/business/VATNotify/list.vatinvoice.cpp |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/jrj/project/business/VATNotify/list.vatinvoice.cpp b/jrj/project/business/VATNotify/list.vatinvoice.cpp
index f4a5f8c..df070fc 100644
--- a/jrj/project/business/VATNotify/list.vatinvoice.cpp
+++ b/jrj/project/business/VATNotify/list.vatinvoice.cpp
@@ -52,22 +52,22 @@
 			return 1;
 		}
 		
-		xstring GetEntityName(int pr)
+		xstring GetEntityName(LPARAM pr)
 		{
 			return L"VATInvoice3";
 		}
 		
-		xstring GetEntityIDName(int /*param*/ pr)
+		xstring GetEntityIDName(LPARAM /*param*/ pr)
 		{
 			return L"VTAInvoiceID";
 		}
 		
-		xstring GetEntityID(int /*param*/ pr)
+		xstring GetEntityID(LPARAM /*param*/ pr)
 		{
 			return dw_list.GetItemString(dw_list.GetRow(),L"VATInvoiceID");
 		}
 		
-		int ViewUpdate(int pr,xstring updateItem,xaserverarg  arg)
+		int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg  arg)
 		{
 			if(	updateItem==L"del")
 			{
@@ -98,7 +98,7 @@
 			int h = xcombobox::GetCurSel(evt->command.hCtrl);
 			if(h > -1) 
 			{
-				xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
+				xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h);
 				if(txt==L"增值税票")
 				{
 					dw_list.openUrl(L"/sale/view/VATNotify/template/VATInvoice/list");
@@ -203,7 +203,7 @@
 			int h = xcombobox::GetCurSel(evt->command.hCtrl);
 			if(h > -1) 
 			{
-				xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
+				xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h);
 				if(txt==L"出运日期")
 				{
 				
@@ -283,7 +283,7 @@
 			xml x ;
 			
 			xaserverarg arg ;
-			arg.setNativePointer(arg.CreateInstance());	
+			
 			arg.AddArg(L"QueryTxt",xcontrol(GetControl(L"sle_search")).GetText());
 			arg.AddArg(L"QueryArg",GetQueryArg());
 			arg.AddArg(L"DatePicker",DatePicker);

--
Gitblit v1.9.3