From 2f2eb9a7c4e99e663c82d156bf5af7ecdbc8fa39 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 02 九月 2024 18:02:52 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

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

diff --git a/jrj/project/business/SO/select.item.so.cpp b/jrj/project/business/SO/select.item.so.cpp
index e6369a6..e04e5fe 100644
--- a/jrj/project/business/SO/select.item.so.cpp
+++ b/jrj/project/business/SO/select.item.so.cpp
@@ -4,6 +4,7 @@
 
 #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp"
 #include "viewobject/view.base.hpp"
+#include "viewobject/saleorder.view.hpp"
 
 using xml = KXMLDOMDocument;
 	class  __declspec(dllexport) SelectItemSOWin : public xframe
@@ -109,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");
 
@@ -131,8 +134,6 @@
 			dw_list.SetColumnState(L"PaperPODate", false);
 
 			xml x;
-			
-
 			xaserverarg arg;
 			if (arg)
 			{

--
Gitblit v1.9.3