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