|
|
@ -2022,7 +2022,7 @@ function excelDownStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_al
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('E'.$line, $value['fax_ratio'] . '%');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('E'.$line, $value['fax_ratio'] . '%');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('C'.$line, $value['pay_amount']);
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('C'.$line, $value['pay_amount']);
|
|
|
|
// $objPHPExcel->getActiveSheet()->setCellValue('F'.$line, $value['sum_money']);
|
|
|
|
// $objPHPExcel->getActiveSheet()->setCellValue('F'.$line, $value['sum_money']);
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line,"=C{$line}*D{$line}*(1-E{$line})");
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line,"=ROUND(C{$line}*D{$line}*(1-E{$line}),2)");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('B'.$line, $product_name);
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('B'.$line, $product_name);
|
|
|
|
$pay_amount_str .= "F{$line}+";
|
|
|
|
$pay_amount_str .= "F{$line}+";
|
|
|
|