From 880f3c0257eeb8c37761d484258fdd102a369a19 Mon Sep 17 00:00:00 2001
From: 陈清红 <420599804@qq.com>
Date: 星期一, 14 四月 2025 16:46:36 +0800
Subject: [PATCH] BUG&优化项

---
 _Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def
index 234e7ba..b395887 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def
@@ -5,13 +5,19 @@
   #keys: '[415136.0.1022502154]'
   Body:
   [*
-    // On ok
+    // On ok 
     Form.ApplyChanges();
     
-    if( efInterfacename.Text() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){
-      CustomerDemandPPAIDS::GenerateData( MacroPlan, InterfaceDataset, ifexpr( rbgVersionFlag.BoundValue() = "true", true, false ) );
+    currentuser  := QuintiqUser::CurrentUser().DisplayName();
+    isactive     := ifexpr( rbgVersionFlag.BoundValue() = "true", true, false );
+    if( efInterfacename.Text() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//瀹㈡埛闇�姹�
+    //  CustomerDemandPPAIDS::GenerateData( InterfaceDataset, MacroPlan, currentuser );
+    }
+    if( efInterfacename.Text() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name()){//瑁呴厤涓婄嚎
+    //  AssemblyOnlinePlanPPPSPush::GenerateData( InterfaceDataset, MacroPlan, currentuser );
     }
     
+    WebMessageBox::Success( "鎺ㄩ�佹垚鍔燂紒" );
     Form.Close();
   *]
 }

--
Gitblit v1.9.3