From bf4b753e80b970a92c41529298818764285e8d04 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期一, 25 十一月 2024 14:08:01 +0800 Subject: [PATCH] update --- jrj/project/business/AR/ExchageInput3.cpp | 13 +++++++++++++ jrj/project/business/AR/ExchageFile.cpp | 1 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/jrj/project/business/AR/ExchageFile.cpp b/jrj/project/business/AR/ExchageFile.cpp index 3e154ce..e560696 100644 --- a/jrj/project/business/AR/ExchageFile.cpp +++ b/jrj/project/business/AR/ExchageFile.cpp @@ -378,6 +378,7 @@ } + //命令发布函数 int OnCmdDispatch(xstring comdid) { diff --git a/jrj/project/business/AR/ExchageInput3.cpp b/jrj/project/business/AR/ExchageInput3.cpp index f45ed2e..0c129bf 100644 --- a/jrj/project/business/AR/ExchageInput3.cpp +++ b/jrj/project/business/AR/ExchageInput3.cpp @@ -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