From 6d9968b5e3de0f425bef89103b9d4eec06a897f6 Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期五, 18 十月 2024 12:00:58 +0800 Subject: [PATCH] 修复产量对比报表日期筛选导出不生效的bug --- _Main/UI/MacroPlannerWebApp/Component_FormSixDigitCode/Response_pHeader_393_bExport_OnClick.def | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormSixDigitCode/Response_pHeader_393_bExport_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormSixDigitCode/Response_pHeader_393_bExport_OnClick.def index 079d0f8..7b2aeec 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormSixDigitCode/Response_pHeader_393_bExport_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormSixDigitCode/Response_pHeader_393_bExport_OnClick.def @@ -5,8 +5,18 @@ #keys: '[413988.0.1146140232]' CanBindMultiple: false DefinitionID: 'Responsedef_WebButton_OnClick' + Precondition: + [* + return not isnull( MacroPlan ); + *] QuillAction { + Body: + [* + binaryValue := SixDigitCode::Download( MacroPlan ); + + Application.Download( "鍙戝姩鏈哄尮閰�-鍏綅鐮�.xlsx", binaryValue.AsBinaryData() ); + *] GroupServerCalls: false } } -- Gitblit v1.9.3