From 2028cdc6793297aa32eab15213c5bb22c7f91ebb Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 10 一月 2025 11:10:48 +0800
Subject: [PATCH] update
---
jrj/project/business/BasicCode/PaymentTerm.list.cpp | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/jrj/project/business/BasicCode/PaymentTerm.list.cpp b/jrj/project/business/BasicCode/PaymentTerm.list.cpp
index d21425f..df4c011 100644
--- a/jrj/project/business/BasicCode/PaymentTerm.list.cpp
+++ b/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;
}
@@ -49,7 +49,7 @@
if (row < 1) return 1;
KXMLDOMElement ele = dw_list.GetRowElement(row);
xstring termid = ele.selectSingleNode(L"TermID").text();
- xaserverarg arg ;
+ xaserverarg arg;
arg.AddArg(L"termId",termid);
//alert(termid);
@@ -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;
--
Gitblit v1.9.3