|
|
|
@ -921,6 +921,7 @@ class AggregateStatementPoolController extends ThinkController
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$optist = ["viewPool","cancelPool"];
|
|
|
|
|
//
|
|
|
|
|
if($info['platform_amount'] <= 0 && $info['company_type'] != 2){
|
|
|
|
@ -942,7 +943,7 @@ class AggregateStatementPoolController extends ThinkController
|
|
|
|
|
}else{
|
|
|
|
|
$optist = array_diff($optist, ["cancelPool","reCount"]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(empty($info['ext_file'])){
|
|
|
|
|
//未上传凭证
|
|
|
|
|
$optist = array_diff($optist, ["viewVoucher", "editVoucher"]);
|
|
|
|
@ -969,7 +970,7 @@ class AggregateStatementPoolController extends ThinkController
|
|
|
|
|
if(IS_ROOT){
|
|
|
|
|
$resarr[] = $opBtn[$v];
|
|
|
|
|
}else{
|
|
|
|
|
if(in_array($v,$this->OpAuthList)){
|
|
|
|
|
if(in_array("Admin/aggregateStatementPool/".$v,$this->OpAuthList)){
|
|
|
|
|
$resarr[] = $opBtn[$v];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -988,7 +989,7 @@ class AggregateStatementPoolController extends ThinkController
|
|
|
|
|
if(IS_ROOT){
|
|
|
|
|
$resarr[] = $v;
|
|
|
|
|
}else{
|
|
|
|
|
if(in_array($k,$this->OpAuthList)){
|
|
|
|
|
if(in_array("Admin/aggregateStatementPool/".$k,$this->OpAuthList)){
|
|
|
|
|
$resarr[] = $v;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|