From e3f724c9fd36995c207a6ed173849c20aaa2e3d7 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 17 十二月 2024 13:06:22 +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