取消结算单下游个人导出

master
chenzhi 5 years ago
parent 44f4ddb377
commit a2454e0446

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

Loading…
Cancel
Save