From b8b0912fb9385f08c55e7055f37564c21e98fa50 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期一, 05 八月 2024 09:07:01 +0800 Subject: [PATCH] update --- jrj/project/business/AP/list.ap.cpp | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/jrj/project/business/AP/list.ap.cpp b/jrj/project/business/AP/list.ap.cpp index d56cafa..8255260 100644 --- a/jrj/project/business/AP/list.ap.cpp +++ b/jrj/project/business/AP/list.ap.cpp @@ -61,12 +61,12 @@ return xcombobox::GetLBText(cbx_type.GetHWND(), h); } - xstring GetEntityName(int pr) + xstring GetEntityName(LPARAM pr) { return L"AP3"; } - xstring GetEntityIDName(int /*param*/ pr) + xstring GetEntityIDName(LPARAM /*param*/ pr) { return L"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"; @@ -476,8 +476,7 @@ xaserverarg arg; arg.AddArg(L"html", str); - int obj = cast(dw_list as int); - arg.AddArg(L"obj", obj.toString()); + arg.SetParam(L"obj", &dw_list); OpenWindow(L"dev:xpage[data.vanalysis.vx]", arg); xutil::RestoreCursor(hCursor); return 1; -- Gitblit v1.9.3