From cb3379dce8ded03b7bd6a28b8c3c6bbf8247c90b Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 12 九月 2024 10:38:10 +0800
Subject: [PATCH] update

---
 jrj/project/business/Enquiry/Enquiry.maint.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/Enquiry/Enquiry.maint.cpp b/jrj/project/business/Enquiry/Enquiry.maint.cpp
index 8bbc0a0..0ddb9cc 100644
--- a/jrj/project/business/Enquiry/Enquiry.maint.cpp
+++ b/jrj/project/business/Enquiry/Enquiry.maint.cpp
@@ -1077,7 +1077,7 @@
 				if (str == L"")
 				{
 					xaserverarg arg1;
-					arg1.setNativePointer(arg1.CreateInstance());
+					
 					arg1.SetParam(L"HWND", GetHWND());
 					arg1.AddArg(L"CustomerID", dw_base.GetItemString(1, L"CustomerID"));
 					OpenWindow(L"dev:xpage[Entity.Product.Select.vx]",arg1);
@@ -1127,13 +1127,14 @@
 			}
 			else if (comdid == L"xmProductDesc")
 			{
-				xaserverarg arg2;
+				xaserverarg arg2=GetArg();
 				
 				int row2 = dw_goods.GetRow();
 				if (row2 < 1) return 0;
 				xstring str2 = dw_goods.GetItemString(row2, L"ProductDesc");
 				arg2.AddArg(L"value", str2);
 				OpenWindow(L"dev:xpage[memo.edit.new.vx]", arg2);
+
 				if (arg2.GetArgString(L"comdid") == L"xmOK")
 				{
 					str2 = arg2.GetArgString(L"value");

--
Gitblit v1.9.3