From b3987122cbbc46c5c59d3173f37fca3170b6dc5a Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 17 一月 2025 08:17:32 +0800
Subject: [PATCH] 机加管线报表测试环境报错
---
_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgEvent/Method_EditEvent.def | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgEvent/Method_EditEvent.def b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgEvent/Method_EditEvent.def
index c5a9ec4..243a121 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgEvent/Method_EditEvent.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgEvent/Method_EditEvent.def
@@ -29,7 +29,14 @@
this.InitializeEventTypes();
// Must be done here, when done in the OnCreated() the checkmarks are not always set.
this.InitializeSubscribers();
-
+ if( guard( sEvent.EventCategory().Name() = LibCal_Event::TYPE_UNAVAILABLE(), false ) )
+ {
+ pnlEventType.Visible( true );
+ }else
+ {
+ pnlEventType.Visible( false );
+ }
+ ddlEventType.Data( sEvent.EventType() );
// Open the dialog.
this.Show( "modal" );
*]
--
Gitblit v1.9.3