From 9b3b2eb20b09e13da837a28f16e552ba70a090c4 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 24 四月 2025 14:48:21 +0800 Subject: [PATCH] update --- 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