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_LibCal_dlgMultipleEvent/Method_CreateEvent#778.def |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git "a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateEvent\043778.def" "b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateEvent\043778.def"
index ac27f5c..ddcfc95 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateEvent\043778.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateEvent\043778.def"
@@ -48,7 +48,7 @@
     // Set the Participation and the related controls
     // (only the DataHolders, the Date-controls are set later on, after the recurrence has been initialized)
     dhStartDate.Data( sLeadPart.StartDate() );
-    //dhEndDate.Data(   sLeadPart.EndDate()   );
+    dhEndDate.Data(   sLeadPart.EndDate()   );
     dhLeadingParticipation.Data( &sLeadPart );
     dhCategory.Data(category_i);
     //info( '-----------------------', isnull( dhLeadingParticipation.Data() ) );
@@ -56,6 +56,10 @@
     // Initialize the capacity here, when done in the OnCreate() edtCapacity is not disabled correctly.
     this.InitializeCapacity();
     
+    this.InitializeEventTypes();
+    
+    ddlEventType.Data( owner_i.CalendarRegistry().GetDefaultEventType() );
+    
     // Initialize the category here, when done in the OnCreate() there is no selection in the DropDownList.
     // Select the general category for new events.
     //this.InitializeCategories();

--
Gitblit v1.9.3