From d03861b11b193439353fa5d9b92eb6ee1e6458e2 Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期六, 12 十月 2024 17:33:03 +0800 Subject: [PATCH] 库存汇总报表查询条件格式修改,发动机物流成本报表系数,汇总添加 --- _Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl | 21 ++++++--------------- 1 files changed, 6 insertions(+), 15 deletions(-) diff --git a/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl b/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl index 98c8ffe..2d828d6 100644 --- a/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl +++ b/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl @@ -2,26 +2,17 @@ #parent: #root StaticMethod CraeteCellValueForRow ( EnginePipelineReport table, - EnginePipelineColumn productcolumn, - EnginePipelineColumn attricolumn, - String productname, - String attriname, - Number rownr, - Boolean isfirst + String name, + String product, + String demand, + Number rownr ) as EnginePipelineRow { TextBody: [* // 鐢勫叞楦� Jul-11-2024 (created) - row := table.Row( relnew, Name := productname, RowNr := rownr ); - if( not isfirst ){ - productname := ''; - } - pcell := productcolumn.CellValue( relnew, Value := productname ); - acell := attricolumn.CellValue( relnew, Value := attriname ); - row.CellValue( relinsert, pcell ); - row.CellValue( relinsert, acell ); - traverse( table, Column, column, column.Index() > 1 ){ + row := table.Row( relnew, Name := name, RowNr := rownr, Product := product, Demand := demand ); + traverse( table, Column, column ){ cell := column.CellValue( relnew, Value := '0' ); row.CellValue( relinsert, cell ); } -- Gitblit v1.9.3