取消结算单下游个人导出

master
chenzhi 4 years ago
parent 44f4ddb377
commit a2454e0446

@ -390,18 +390,18 @@ class CompanyStatementController extends ThinkController
}
if ($data['company_belong'] == 9) {//上游
excelUpStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_sum_money);
} else {//下游
if($dbres["company_type"] == 1){
} else {
//下游
// if($dbres["company_type"] == 1){
excelDownStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_sum_money);
}else{
$data['statement_begin_time'] = date('Ymd',$data['statement_begin_time']);
$data['statement_end_time'] = date('Ymd',$data['statement_end_time']);
$data['statement_count'] = count($data['statement_info']);
// dd($data);
$this->assign("data",$data);
$this->display("exportPuStatement");
}
// }else{
// $data['statement_begin_time'] = date('Ymd',$data['statement_begin_time']);
// $data['statement_end_time'] = date('Ymd',$data['statement_end_time']);
// $data['statement_count'] = count($data['statement_info']);
// // dd($data);
// $this->assign("data",$data);
// $this->display("exportPuStatement");
// }
}
}
//汇总

Loading…
Cancel
Save