LiFan
2025-04-24 9b3b2eb20b09e13da837a28f16e552ba70a090c4
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()