|
@@ -1824,12 +1824,11 @@ function excelRCData($summaryData,$aiAllList,$cglist,$year){
|
|
|
|
|
|
//$sectionCount[$aiak]['1'].$onRow
|
|
//$sectionCount[$aiak]['1'].$onRow
|
|
|
|
|
|
- $obj->getactivesheet()->setCellValue( $col.$onRow, '=SUM('.$sectionCount[$aiak]['0'].$onRow.':'.$sectionCount[$aiak]['0'].$onRow.')' );//公式
|
|
|
|
|
|
+ $obj->getactivesheet()->setCellValue( $col.$onRow, '=SUM('.$sectionCount[$aiak]['0'].$onRow.':'.$sectionCount[$aiak]['1'].$onRow.')' );//公式
|
|
$col++;
|
|
$col++;
|
|
foreach ($aiav as $k=>$v){//项目细则
|
|
foreach ($aiav as $k=>$v){//项目细则
|
|
foreach ($summaryData[$value['cid']][$month][$aiak] as $dsk=>$dsv){//数据实体
|
|
foreach ($summaryData[$value['cid']][$month][$aiak] as $dsk=>$dsv){//数据实体
|
|
if($dsv['item']==$v['name']){
|
|
if($dsv['item']==$v['name']){
|
|
-
|
|
|
|
$obj->getactivesheet()->setCellValue ( $col.$onRow,$dsv['price']);
|
|
$obj->getactivesheet()->setCellValue ( $col.$onRow,$dsv['price']);
|
|
break;
|
|
break;
|
|
}
|
|
}
|