|
|
@ -1438,12 +1438,15 @@ class CompanyStatementController extends ThinkController
|
|
|
|
if ($company_ids) {
|
|
|
|
if ($company_ids) {
|
|
|
|
$inside = M("promote_company",'tab_')->field("company_name")->where(['id'=>['in',$company_ids],'is_inside'=>1])->select();
|
|
|
|
$inside = M("promote_company",'tab_')->field("company_name")->where(['id'=>['in',$company_ids],'is_inside'=>1])->select();
|
|
|
|
|
|
|
|
|
|
|
|
$inside = implode(',',array_column($inside,'company_name'));
|
|
|
|
if ($inside) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$inside = implode(',',array_column($inside,'company_name'));
|
|
|
|
$this->ajaxReturn(['status'=>0,'msg'=>$inside.'为内部公司不能添加特殊补点']);
|
|
|
|
$this->ajaxReturn(['status'=>0,'msg'=>$inside.'为内部公司不能添加特殊补点']);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$withdraw_type = 3;
|
|
|
|
$withdraw_type = 3;
|
|
|
|
$statement_data = [];
|
|
|
|
$statement_data = [];
|
|
|
|
M()->startTrans();
|
|
|
|
M()->startTrans();
|
|
|
|