From a4344c9bada0722c6ef7fac5d95f29a110eea0f1 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 21 四月 2025 10:32:05 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

---
 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