From 4ab4a5430dc1fb127869e1a8c9b8e8bf4d0d0c09 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 27 六月 2024 14:26:10 +0800
Subject: [PATCH] 财务产量报表导入校验
---
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
index 2860d95..4afacaf 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
@@ -10,7 +10,27 @@
Body:
[*
if ( not isnull( this.Data() ) ) {
+ ries := this.Data();
+ if ( ries.ExecutionCode() = 200 ) {
+ WebMessageBox::Success( ries.ExecutionRespMessage() );
+ bRequirementUpload.Image( "FLASH" );
+ bRequirementUpload.Enabled( true, "" );
+ } else if ( ries.ExecutionCode() = 500 ) {
+ WebMessageBox::Error( ries.ExecutionRespMessage() );
+ bRequirementUpload.Image( "FLASH" );
+ bRequirementUpload.Enabled( true, "" );
+ } else if ( ries.ExecutionCode() = 501 ) {
+ dlg := construct( DialogOverwriteFile );
+ ApplicationMacroPlanner.ShowFormModal( dlg );
+ bRequirementUpload.Image( "FLASH" );
+ bRequirementUpload.Enabled( true, "" );
+ } else if ( ries.ExecutionCode() = -1 ) {
+ bRequirementUpload.Image( "APPLICATION_STOP" );
+ bRequirementUpload.Enabled( false, "" );
+ }
+
+ this.Data().Delete();
}
*]
GroupServerCalls: false
--
Gitblit v1.9.3