特殊补点汇总功能修改

master
zhengyongxing 4 years ago
parent 4ed51cb112
commit 2c005d1996

@ -113,6 +113,9 @@ class CompanyStatementLackController extends ThinkController
} }
//获取基本信息 //获取基本信息
$dbres = $this->DBModel->where("id='{$id}'")->select(); $dbres = $this->DBModel->where("id='{$id}'")->select();
$withdraw_type = $dbres[0]['withdraw_type'];
$title = $dbres[0]['company_name']; $title = $dbres[0]['company_name'];
$this->assign("title",$title); $this->assign("title",$title);
@ -121,9 +124,9 @@ class CompanyStatementLackController extends ThinkController
A("CompanyStatementPool")->viewCpPool($dbres,$is_export); A("CompanyStatementPool")->viewCpPool($dbres,$is_export);
}elseif($dbres[0]['company_type'] == 1){ }elseif($dbres[0]['company_type'] == 1){
//下游公司 //下游公司
A("CompanyStatementPool")->viewPcPool($dbres,$is_export); A("CompanyStatementPool")->viewPcPool($dbres,$is_export,$withdraw_type);
}else{ }else{
A("CompanyStatementPool")->viewPuPool($dbres,$is_export); A("CompanyStatementPool")->viewPuPool($dbres,$is_export,$withdraw_type);
} }
} }

Loading…
Cancel
Save