lazhen
2024-10-23 4bb71bc32df6a2ce847b5dc1853dea732e2d0253
_Main/BL/Type_FinancialSalesReport/Method_Generate.qbl
@@ -12,8 +12,10 @@
    table                   := selectobject( this, FinancialSalesSource.FinancialSalesReport, report, not report.IsShow() );
    //清空之前存储的显示数据
    this.Clear();
    //年汇总
    yearcolumn                := this.FinancialSalesColumn( relnew, Name := '汇总', Period := search.MacroPlan().StartOfPlanning().StartOfNextYear().Date() );
    traverse( factorys, Elements, factory ){
      this.GenerateShow( table, productids, factory.ID() );
      this.GenerateShow( table, yearcolumn, productids, factory.ID() );
    }
    rows                    := selectsortedset( this, FinancialSalesRow, row, row.Name() );
    i                       := 0;