From 03ef0b51103c735077c784c7df81ae2bcc1599ab Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 13 二月 2025 18:33:56 +0800 Subject: [PATCH] update --- jrj/project/business/SO/select.item.so.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/SO/select.item.so.cpp b/jrj/project/business/SO/select.item.so.cpp index e6369a6..ca5a39a 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 @@ -72,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); @@ -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,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