caipin 5 年之前
父节点
当前提交
6d0d186271
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      protected/class/receipt.func.php

+ 2 - 2
protected/class/receipt.func.php

@@ -1791,9 +1791,9 @@ function excelRCData($summaryData,$aiAllList,$year){
 	$obj->getactivesheet()->setCellValue ( 'F3','培训及其他收入' );
 	$obj->getactivesheet()->setCellValue ( 'G3','费用合计' );
 	//表头细则
-	print_r($sectionCount);die;
+	//print_r($sectionCount);die;
 	foreach ($sectionCount as $key=>$value){
-		$obj->getActiveSheet()->mergeCells($value[0].'2:'.$value[1].'2');
+		$obj->getActiveSheet()->mergeCells($value['0'].'2:'.$value['1'].'2');
 		
 		
 	}