From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
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