From 00e49b7a6bcb68189ef0b6cfe8ee20c1a479579d Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期三, 24 七月 2024 16:20:00 +0800
Subject: [PATCH] update

---
 jrj/project/business/AP/list.ap.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/jrj/project/business/AP/list.ap.cpp b/jrj/project/business/AP/list.ap.cpp
index 79200b8..fd27ed8 100644
--- a/jrj/project/business/AP/list.ap.cpp
+++ b/jrj/project/business/AP/list.ap.cpp
@@ -162,7 +162,7 @@
 				if (row < 1) return 1;
 				KXMLDOMElement ele = dw_list.GetRowElement(row);
 				xstring APID = ele.selectSingleNode(L"APID").text();
-				ele.Release();
+				
 				xaserverarg arg;
 				
 				arg.AddArg(L"APID", APID);
@@ -191,7 +191,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);
 				apType = L"---";
 				if (txt == L"已付货款")
 				{
@@ -300,7 +300,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"出运日期")
 					{
 						apType = L"000";
@@ -326,7 +326,7 @@
 				int h1 = xcombobox::GetCurSel(evt->command.hCtrl);
 				if (h1 > -1)
 				{
-					xstring txt1 = xcombobox::GetLBText(evt->command.hCtrl, h1);
+					xstring txt1 = (string)xcombobox::GetLBText(evt->command.hCtrl, h1);
 					if (txt1 == L"出运日期")
 					{
 						apType = L"001";
@@ -352,7 +352,7 @@
 				int h2 = xcombobox::GetCurSel(evt->command.hCtrl);
 				if (h2 > -1)
 				{
-					xstring txt2 = xcombobox::GetLBText(evt->command.hCtrl, h2);
+					xstring txt2 = (string)xcombobox::GetLBText(evt->command.hCtrl, h2);
 					if (txt2 == L"出运日期")
 					{
 						apType = L"001";

--
Gitblit v1.9.3