lihongji
2024-10-14 ed09bf3eb41fcf1b79b083ac3d959f110b7e613b
_Main/UI/MacroPlannerWebApp/Component_FormFinancialProductionReport/Response_OnCreated.def
@@ -11,11 +11,15 @@
    [*
      //初始化
      table := FinancialProductionSource::InitiateSearch( MacroPlan );
      //table := selectobject( MacroPlan, FinancialProductionSource.FinancialProductionReport, table, not table.IsImport() and table.IsShow() );
      //info( '------------------2----------------', table.IsImport(), table.IsShow() );
      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( MacroPlan.FinancialProductionSearch() );
    *]
    GroupServerCalls: false
  }