xj qian
2024-09-05 2232a3938e5faa4ca9c25e7eab41a8ea8df03b32
jrj/project/business/BasicCode/PaymentTerm.list.cpp
@@ -8,13 +8,13 @@
#include "viewobject/view.base.hpp"
using xml = KXMLDOMDocument;
class  __declspec(dllexport) PaymentTermlist111 : public xwin
class  __declspec(dllexport) PaymentTermlist111 : public listwin
{
public:
   xdwgrid  dw_list;
public:
   PaymentTermlist111(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
   PaymentTermlist111(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {}
public:
   static PaymentTermlist111* CreateInstance(void* implPtr, void* hWnd)
   {
@@ -39,7 +39,7 @@
      if (arg.GetArgString(L"ret") == L"Ok")
      {
         alert(L"OK");
         list::onloaded();
         listwin::onloaded();
      }            
      return 1;
   }   
@@ -98,7 +98,7 @@
   }
   int OnRefresh()
   {
      list::onloaded();
      listwin::onloaded();
      return 0;
   }
   //按钮事件
@@ -128,15 +128,16 @@
   int onload()
   {
      
      list::onload();
      listwin::onload();
      OnAttachEvent();
      return 1;
   }
   
   int onloaded()
   {
      //OnRetrieve();
      //alert(L"12");
      list::onloaded();
      listwin::onloaded();
         
         
      return -1;