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_FormFinancialProductionReport/Response_OnCreated.def | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Response_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Response_OnCreated.def
index e6a840f..db5a58c 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Response_OnCreated.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Response_OnCreated.def
@@ -10,12 +10,15 @@
Body:
[*
//鍒濆鍖�
- if( not exists( MacroPlan, FinancialProductionSource, source, not source.IsImport() ) ){
- FinancialProductionSource::Initialize( MacroPlan );
- }
- //info( '------------------1----------------' );
- table := selectobject( MacroPlan, FinancialProductionSource.FinancialProductionReport, table, not table.IsImport() );
- //info( '------------------2----------------' );
+ table := FinancialProductionSource::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 );
*]
GroupServerCalls: false
--
Gitblit v1.9.3