From 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期三, 22 一月 2025 12:20:44 +0800
Subject: [PATCH] Merge branch 'master' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Response_OnCreated.def |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Response_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Response_OnCreated.def
index ca45d5d..b47c050 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Response_OnCreated.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInventorySummaryReport/Response_OnCreated.def
@@ -9,15 +9,16 @@
   {
     Body:
     [*
-      //if( not isnull( MacroPlan.InventorySummarySource() ) ){
-        InventorySummarySource::Initialize( MacroPlan, InterfaceDataset );
-      //}
-      //info( '------------------1----------------' );
-      table := selectobject( MacroPlan, InventorySummarySource.InventorySummaryReport, table, table.IsShow() );
-      //info( '------------------2----------------', table.IsShow() );
+      table := InventorySummarySource::InitiateSearch( MacroPlan );
+      Factory::Initilize( MacroPlan );
+      ProductGeneration::Initilize( MacroPlan );
+      ProductPower::Initilize( MacroPlan );
+      ProductMLBMQB::Initilize( MacroPlan );
+      dhFactorys.Data( selectset( MacroPlan, Factory, factory, factory.ID() = FinancialProductionReport::GetDefaultAllUnit() ) );
+      //dhGenerations.Data( selectset( MacroPlan, ProductGeneration, factory, true ) );
+      //dhPowers.Data( selectset( MacroPlan, ProductPower, factory, true ) );
+      //dhMQBMLBs.Data( selectset( MacroPlan, ProductMLBMQB, factory, true ) );
       DataHolderTable.Data( table );
-      
-      dhSearch.Data( table.InventorySummarySource().InventorySummarySearch() );
     *]
     GroupServerCalls: false
   }

--
Gitblit v1.9.3