From 7712f55bb88b1ccaef1ad34e18b56d6494d83932 Mon Sep 17 00:00:00 2001
From: limj <limj@taizhitech.com>
Date: 星期五, 15 九月 2023 17:05:50 +0800
Subject: [PATCH] 填产

---
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def
index e71781f..6519f81 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def
@@ -11,9 +11,12 @@
     
     // OnOk
     this.ApplyChanges();
-    
     DataHolderFilling.Data().Commit();
     
+    fillingData := DataHolderFilling.Data();
+    
+    CustomerAndForecastOrder::CreateFillingCapacityOrder( MacroPlan, fillingData.WrappedInstance());
+    
     //if( not isnull( DataHolderForm.Data() ) )
     //{
     //  // Access the form, select the new assumption

--
Gitblit v1.9.3