From 94d3840bda13f23c0cd4619a99ac215b74ffcd94 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 07 十一月 2024 13:54:14 +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