From 97e2acb59314e2ca4bee55abc9571c1c5045f73d Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 08 七月 2024 18:20:38 +0800
Subject: [PATCH] update

---
 jrj/project/business/AR/ExchangeSignFast.cpp |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/jrj/project/business/AR/ExchangeSignFast.cpp b/jrj/project/business/AR/ExchangeSignFast.cpp
index 8084cea..c651c54 100644
--- a/jrj/project/business/AR/ExchangeSignFast.cpp
+++ b/jrj/project/business/AR/ExchangeSignFast.cpp
@@ -75,7 +75,7 @@
 			dw_list.DwUpdateAllToEx(x);
 
 			//trace(x.xml());
-			xml x0 = ViewObject::MakeXml();
+			xml x0 ;
 			x0.loadXML(L"<data/>");
 
 			KXMLDOMNodeList t = x.selectNodes(L"data/Item[@update.modify or @update.delete]");
@@ -85,7 +85,7 @@
 			{
 				e1.appendChild(t.item(i));
 			}
-			xaserverarg arg = ViewObject::MakeArg();
+			xaserverarg arg ;
 			arg.AddArg(L"content", x0.xml());
 
 			if (xurl::get(L"/sale/data/AR/update/item", arg.GetString(), x) != 1)
@@ -127,14 +127,14 @@
 			return 0;
 		}
 
-		int OnCombboChanged(ref TCommandEvent evt, int lParam)
+		int OnCombboChanged(TEvent* evt, int lParam)
 		{
 			xstring id = L"";
 			xstring name = L"";
-			int h = xcombobox::GetCurSel(evt.hCtrl);
+			int h = xcombobox::GetCurSel(evt->command.hCtrl);
 			if (h > -1)
 			{
-				xstring txt = xcombobox::GetLBText(evt.hCtrl, h);
+				xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
 				if (txt == L"限定客户")
 				{
 					OnRetrieve(1);
@@ -152,7 +152,7 @@
 			dw_unexch.AcceptText();
 			int row = dw_unexch.GetRow();
 
-			int hCursor = xutil::SetCursorWait();
+			HCURSOR hCursor = xutil::SetCursorWait();
 			double AdjustAmount = dw_unexch.GetItemDouble(row, L"AdjustAmount");//调整数
 			double amted = dw_unexch.GetItemDouble(row, L"实收汇金额");//往次
 			double samt = dw_unexch.GetItemDouble(row, L"应收汇金额");//应收汇金额
@@ -348,9 +348,9 @@
 			xstring path1 = L"/sale/data/AR/item/exch/listwithcustomer";
 			if (customer == 0)  path1 = L"/sale/data/AR/item/exch/list";
 
-			arg.AddArg(L"QueryTxt", GetControl(L"sle_search").GetText());
+			arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText());
 			arg.AddArg(L"QueryArg", GetQueryArg());
-			trace(L"SEID+++L" + SEID + L"+++QueryTxt+++L" + GetControl(L"sle_search").GetText() + L"+++QueryArg+++L" + GetQueryArg());
+			trace(L"SEID+++L" + SEID + L"+++QueryTxt+++L" + xcontrol(GetControl(L"sle_search")).GetText() + L"+++QueryArg+++L" + GetQueryArg());
 			if (getUrl(path, arg.GetString(), x) != 1)
 			{
 				trace(L"错误信息1=L" + xstring(x.text()));

--
Gitblit v1.9.3