From 2a6901ac7c292e372bb78d654ab777bdc19ee1a5 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 15 七月 2026 11:21:41 +0800
Subject: [PATCH] update

---
 jrj/project/business/AR/ExchageInput3.cpp |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/AR/ExchageInput3.cpp b/jrj/project/business/AR/ExchageInput3.cpp
index 3063bc9..5528886 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;
@@ -475,7 +488,7 @@
 			dw_arg.SetRowSelectorWidth(0);
 			dw_arg.SetHScrollState(false);
 			dw_arg.SetVScrollState(false);
-
+			dw_arg.SetItemString(1, L"DateType", L"本年");
 			tabname = L"sign";
 			tabagent = L"";
 

--
Gitblit v1.9.3