From d41977e710f5aefa9e7ec773ba68742794360c3e Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期日, 29 九月 2024 15:32:15 +0800
Subject: [PATCH] 报表进入页面查询初始化

---
 _Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Response_OnCreated.def |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Response_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Response_OnCreated.def
index e4fa70a..c61aeb4 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Response_OnCreated.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Response_OnCreated.def
@@ -9,11 +9,8 @@
   {
     Body:
     [*
-      //if( not exists( MacroPlan, FinancialSalesSource, source, not source.IsImport() ) ){
-      //  FinancialSalesSource::Initialize( MacroPlan );
-      //}
-      //info( '------------------1----------------' );
-      table := selectobject( MacroPlan, FinancialSalesSource.FinancialSalesReport, table, not table.IsImport() and table.IsShow() );
+      table := FinancialSalesSource::InitiateSearch( MacroPlan );
+      //table := selectobject( MacroPlan, FinancialSalesSource.FinancialSalesReport, table, not table.IsImport() and table.IsShow() );
       //info( '------------------2----------------', table.IsImport(), table.IsShow() );
       DataHolderTable.Data( table );
       

--
Gitblit v1.9.3