From 19df926ceac02075e1c92b2e961a49e0385051cb Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期一, 05 八月 2024 09:07:05 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- jrj/project/business/AP/APNew3.warizd.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/AP/APNew3.warizd.cpp b/jrj/project/business/AP/APNew3.warizd.cpp index a22bcaa..d6a2c6f 100644 --- a/jrj/project/business/AP/APNew3.warizd.cpp +++ b/jrj/project/business/AP/APNew3.warizd.cpp @@ -380,7 +380,7 @@ else if (comdid == L"xmFilter") return OnFilter(); else if (comdid == L"xmQuery") { - + index = m_layer.GetSheetIndex(); index++; OnRetrieve(); @@ -575,11 +575,11 @@ arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText()); xcombobox cbx_type = GetControl(L"cbx_ship"); - int h = xcombobox::GetCurSel(cbx_type.GetHWND()); + int h = cbx_type.GetCurSel(); if (h < 0) return 1; - xstring str = xcombobox::GetItemData(cbx_type.GetHWND()); + xstring str = (string)cbx_type.GetItemData(h); arg.AddArg(L"ShipDays", str); - trace(str); + if (getUrl(L"/sale/data/AP/list101", arg.GetString(), x) != 1) { trace(x.text()); @@ -588,6 +588,7 @@ } else { + dw_1.Retrieve(x); dw_1.Redraw(); } -- Gitblit v1.9.3