绑定公司修正

master
zhengyongxing 4 years ago
parent 0ebaf6ed64
commit f757c10c61

@ -699,12 +699,13 @@ class AggregateRelationController extends AdminController
$mentBtn = [ $mentBtn = [
"addRelation"=>"<a class='butn' href='{$addurl}'>新增公司绑定</a>" "addRelation"=>"<a class='butn' href='{$addurl}'>新增公司绑定</a>"
]; ];
$resarr = []; $resarr = [];
foreach ($mentBtn as $k => $v) { foreach ($mentBtn as $k => $v) {
if(IS_ROOT){ if(IS_ROOT){
$resarr[] = $v; $resarr[] = $v;
}else{ }else{
if(in_array($k,$this->OpAuthList)){ if(in_array('Admin/aggregateRelation/'.$k,$this->OpAuthList)){
$resarr[] = $v; $resarr[] = $v;
} }
} }

@ -2626,4 +2626,6 @@ CREATE TABLE `tab_aggregate_statement_pool` (
ALTER TABLE `tab_company_info` ALTER TABLE `tab_company_info`
ADD COLUMN `invoice_item` varchar(255) NULL DEFAULT '' COMMENT '开票内容' AFTER `fax_ratio`, ADD COLUMN `invoice_item` varchar(255) NULL DEFAULT '' COMMENT '开票内容' AFTER `fax_ratio`,
ADD COLUMN `invoice_type` varchar(255) NULL DEFAULT '' COMMENT '开票类型' AFTER `invoice_item`; 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`;
Loading…
Cancel
Save