From ae5fd37fc3cfdf60ad385211460e9d39ee53e5ba Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期四, 14 十一月 2024 15:31:50 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- jrj/project/business/AP/Select.AP.cpp | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/AP/Select.AP.cpp b/jrj/project/business/AP/Select.AP.cpp index 5ed3e2f..e921b17 100644 --- a/jrj/project/business/AP/Select.AP.cpp +++ b/jrj/project/business/AP/Select.AP.cpp @@ -6,16 +6,16 @@ #include "viewobject/view.base.hpp" using xml = KXMLDOMDocument; - class __declspec(dllexport) APSelectDlg : public xframe - { - public: +class __declspec(dllexport) APSelectDlg : public xframe +{ +public: xdwgrid dw_list; xcontrol query; xnode m_agentNode; //Agent Condition public: - APSelectDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} + APSelectDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd), query(0){} public: static APSelectDlg* CreateInstance(void* implPtr, void* hWnd) { @@ -93,6 +93,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&APSelectDlg::OnSetFocus); AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&APSelectDlg::onOk); + return 1; } int RetrieveData() @@ -109,6 +110,7 @@ int onload() { + SetArg(); dw_list = GetControl(L"dw_list"); dw_list.openUrl(L"/sale/view/PurchaseOrder/template/purchaseorder/POAdvance"); OnAttachEvent(); -- Gitblit v1.9.3