From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/project/business/Enquiry/PriceList.PurcharItemSelect.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/Enquiry/PriceList.PurcharItemSelect.cpp b/jrj/project/business/Enquiry/PriceList.PurcharItemSelect.cpp
index e467b33..53337d1 100644
--- a/jrj/project/business/Enquiry/PriceList.PurcharItemSelect.cpp
+++ b/jrj/project/business/Enquiry/PriceList.PurcharItemSelect.cpp
@@ -71,11 +71,12 @@
rw = dw_list.GetNextSelectRow(rw + 1);
}
content += L"</data>";
- xaserverarg arg ;
+ xaserverarg arg =GetArg();
arg.AddArg(L"process", L"ok");
arg.AddArg(L"result", content);
CloseWindow();
+ return 1;
}
//命令发布函数
int OnCmdDispatch(xstring comdid)
@@ -133,7 +134,7 @@
{
xml x ;
- xaserverarg arg;
+ xaserverarg arg=GetArg();
if (getUrl(L"/sale/data/Enquiry/PriceList/ItemSelect", arg.GetString(), x) != 1)
{
trace(x.text());
@@ -150,13 +151,14 @@
int onload()
{
+ SetArg();
dw_list = GetControl(L"dw_list");
dw_list.openUrl(L"/sale/view/Enquiry3/template/purcharpricelist/item");
dw_list.SetReadOnly(true);
OnAttachEvent();
OnRetrieve();
dw_list.SetSelectionMode(3);
- xaserverarg arg ;
+ xaserverarg arg =GetArg();
arg.AddArg(L"process", L"");
return 1;
}
--
Gitblit v1.9.3