From 3d5183450ce30a21c5e89e3ec9b45c553372036e Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 31 十月 2024 16:55:08 +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