From 20bac026b51b5d6572a6107ef09397288bbc6dd8 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 06 十一月 2024 15:38:32 +0800
Subject: [PATCH] 发送报表数据

---
 _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Method_OnOK.def |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Method_OnOK.def b/_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Method_OnOK.def
index f3ed1c0..e0d5650 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Method_OnOK.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Method_OnOK.def
@@ -26,8 +26,14 @@
       }
     
       showlabel := showlabel.Concat( plannames.Concatenate( "銆�" ) ).Concat( '锛�' );
-    
+    currentuser  := QuintiqUser::CurrentUser().DisplayName();
       if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){
+        InterfaceDataset.PublishPlanReportData( MacroPlan, cbCustomDemand.Checked()
+                                              , cbOfflinePlan.Checked()
+                                              , cbShiftPlan.Checked()
+                                              , cbAssembleOnlinePlan.Checked()
+                                              , cbInventoryPlan.Checked()
+                                                , currentuser );
       }
     
     this.Close();

--
Gitblit v1.9.3