From 6fb710f1b24021ca5e95a00706ced3ba581c1c8d Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期二, 11 二月 2025 16:03:20 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- jrj/project/business/BasicCode/PaymentTerm.maint.cpp | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/jrj/project/business/BasicCode/PaymentTerm.maint.cpp b/jrj/project/business/BasicCode/PaymentTerm.maint.cpp index 3604cc8..df42459 100644 --- a/jrj/project/business/BasicCode/PaymentTerm.maint.cpp +++ b/jrj/project/business/BasicCode/PaymentTerm.maint.cpp @@ -1,14 +1,17 @@ #include <wobject/xstring.hpp> #include <xcontrol/xtreeview.hpp> #include <xcontrol/xdwgrid.hpp> +#include <xcontrol/xdwtable.hpp> #include <wobject/xdouble.hpp> #include <xcontrol/xlayersheet.hpp> +#include <xcontrol/xcell.hpp> #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" -#include "viewobject/view.base.hpp" +#include "vbusiness/vframe/maint.vframe.vbusiness.hpp" +#include <xcontrol/xlayersheet.hpp> using xml = KXMLDOMDocument; -class __declspec(dllexport) PaymentTermEdit : public xframe +class __declspec(dllexport) PaymentTermEdit : public maint { public: xdwtable dw_base; @@ -16,7 +19,7 @@ xcell dw_cell; xstring sCryno; public: - PaymentTermEdit(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} + PaymentTermEdit(void* implPtr, HWND hWnd) :maint(implPtr, hWnd) {} public: static PaymentTermEdit* CreateInstance(void* implPtr, void* hWnd) { @@ -406,14 +409,13 @@ //maint::onload(); //maint::onloaded(); dw_base = GetControl(L"dw_base"); - dw_cell = new xcell; - dw_cell.setNativePointer(dw_base.QueryItem(L"ixcell")); dw_base.openUrl(L"/sale/view/Payment/template/Payment/maint"); + dw_cell = dw_base.QueryItem(L"ixcell"); //alert(L"1233"); OnRetrieve(); OnAttachEvent(); //dw_base = GetControl(L"dw_base"); - + return 1; } int onloaded() -- Gitblit v1.9.3