diff --git a/Application/Admin/Controller/AggregateRelationController.class.php b/Application/Admin/Controller/AggregateRelationController.class.php index fdc140a1e..01464363e 100644 --- a/Application/Admin/Controller/AggregateRelationController.class.php +++ b/Application/Admin/Controller/AggregateRelationController.class.php @@ -699,12 +699,13 @@ class AggregateRelationController extends AdminController $mentBtn = [ "addRelation"=>"新增公司绑定" ]; + $resarr = []; foreach ($mentBtn as $k => $v) { if(IS_ROOT){ $resarr[] = $v; }else{ - if(in_array($k,$this->OpAuthList)){ + if(in_array('Admin/aggregateRelation/'.$k,$this->OpAuthList)){ $resarr[] = $v; } } diff --git a/Data/update.sql b/Data/update.sql index 200f13b31..37508fdaa 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -2626,4 +2626,6 @@ CREATE TABLE `tab_aggregate_statement_pool` ( ALTER TABLE `tab_company_info` ADD COLUMN `invoice_item` varchar(255) NULL DEFAULT '' COMMENT '开票内容' AFTER `fax_ratio`, -ADD COLUMN `invoice_type` varchar(255) NULL DEFAULT '' COMMENT '开票类型' AFTER `invoice_item`; \ No newline at end of file +ADD COLUMN `invoice_type` varchar(255) NULL DEFAULT '' COMMENT '开票类型' AFTER `invoice_item`, +ADD COLUMN `register_phone` varchar(24) NULL DEFAULT '' COMMENT '注册电话' AFTER `invoice_type`, +ADD COLUMN `register_address` varchar(255) NULL DEFAULT '' COMMENT '注册地址' AFTER `register_phone`; \ No newline at end of file