From 2232a3938e5faa4ca9c25e7eab41a8ea8df03b32 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 05 九月 2024 15:43:07 +0800
Subject: [PATCH] update

---
 jrj/project/business/BasicCode/PaymentTerm.maint.cpp  |    2 +-
 jrj/project/business/SO/paymentterm.base.maint.so.cpp |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jrj/project/business/BasicCode/PaymentTerm.maint.cpp b/jrj/project/business/BasicCode/PaymentTerm.maint.cpp
index fa51030..df42459 100644
--- a/jrj/project/business/BasicCode/PaymentTerm.maint.cpp
+++ b/jrj/project/business/BasicCode/PaymentTerm.maint.cpp
@@ -409,8 +409,8 @@
 		//maint::onload();
 		//maint::onloaded();
 		dw_base = GetControl(L"dw_base");
-		dw_cell = 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();
diff --git a/jrj/project/business/SO/paymentterm.base.maint.so.cpp b/jrj/project/business/SO/paymentterm.base.maint.so.cpp
index bbf2ade..d9921a8 100644
--- a/jrj/project/business/SO/paymentterm.base.maint.so.cpp
+++ b/jrj/project/business/SO/paymentterm.base.maint.so.cpp
@@ -15,7 +15,7 @@
 		xdwtable	dw_1;
 		xdwtable	dw_p;
 
-		xcell dw_cell;
+		//xcell dw_cell;
 		xstring sCryno;
 
 	public:
@@ -398,8 +398,8 @@
 			dw_1.SetRowSelectorWidth(0);
 			dw_1.SetScrollState(false);
 
-			dw_cell = new xcell;
-			dw_cell.setNativePointer(dw_1.QueryItem(L"ixcell"));
+			//dw_cell = new xcell;
+			//dw_cell.setNativePointer(dw_1.QueryItem(L"ixcell"));
 
 			OnAttachEvent();
 

--
Gitblit v1.9.3