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/AR/ExchageInput3.cpp |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/jrj/project/business/AR/ExchageInput3.cpp b/jrj/project/business/AR/ExchageInput3.cpp
index 3063bc9..0c129bf 100644
--- a/jrj/project/business/AR/ExchageInput3.cpp
+++ b/jrj/project/business/AR/ExchageInput3.cpp
@@ -61,7 +61,7 @@
 			
 			arg.AddArg(L"content", x.xml());
 
-			alert(x.xml());
+			//alert(x.xml());
 			if (xurl::get(L"/sale/data/AR/update/item", arg.GetString(), x) != 1)
 			{
 				xstring error = x.text();
@@ -190,6 +190,16 @@
 			return 1;
 		}
 
+		int OnSaveAs()
+		{
+			if (tabname == L"sign") return dw_list.SaveAs(L"");
+			if (tabname == L"signed") return dw_signed.SaveAs(L"");
+			if (tabname == L"exch") return dw_exch.SaveAs(L"");
+			if (tabname == L"unexch") return dw_unexch.SaveAs(L"");
+			if (tabname == L"adjust") return dw_adjust.SaveAs(L"");
+			return 1;
+		}
+
 		int RetrieveData()
 		{
 			if (tabname == L"sign") return OnRetrieve(L"/sale/data/AR/list", dw_list);
@@ -219,6 +229,9 @@
 			{
 				return OnDeleteRow();
 			}
+			else if (comdid == L"xmSaveAs")
+				return OnSaveAs();
+
 			else if (comdid == L"xmDelete")
 			{
 				int MB_OKCANCEL = 1;

--
Gitblit v1.9.3