From 06a9a4b01cda9c380e52eb875d7bb7c1c874954a Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 05 十一月 2024 18:19:31 +0800
Subject: [PATCH] update

---
 jrj/project/business/SO/select.item.so.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jrj/project/business/SO/select.item.so.cpp b/jrj/project/business/SO/select.item.so.cpp
index feabc76..ca5a39a 100644
--- a/jrj/project/business/SO/select.item.so.cpp
+++ b/jrj/project/business/SO/select.item.so.cpp
@@ -73,7 +73,7 @@
 			}
 			else if (comdid == L"xmOk")
 			{
-				xaserverarg arg;
+				xaserverarg arg=GetArg();
 				arg.AddArg(L"items", L"");
 				xstring str = L"";
 				int row = dw_list.GetNextSelectRow(1);
@@ -110,10 +110,12 @@
 			AttachEvent(L"WM_XCOMMAND", (FEvent)&SelectItemSOWin::OnXCommand);
 			//获取焦点事件,用于重置工具条
 			AttachEvent(L"WM_SETFOCUS", (FEvent)&SelectItemSOWin::OnSetFocus);
+			return 1;
 		}
 
 		int onload()
 		{
+			SetArg();
 			dw_list = GetControl(L"dw_list");
 			dw_list.openUrl(L"/sale/view/SaleOrder/template/item");
 
@@ -132,9 +134,7 @@
 			dw_list.SetColumnState(L"PaperPODate", false);
 
 			xml x;
-			
-
-			xaserverarg arg;
+			xaserverarg arg=GetArg();
 			if (arg)
 			{
 				xstring SONo = arg.GetArgString(L"SONo");

--
Gitblit v1.9.3