新增需求:管理后台-》系统-》扩展工具-》公司信息管理

master
liuweiwen 5 years ago
parent c6f798dc47
commit 602fb33fcc

@ -639,6 +639,17 @@ class ToolController extends ThinkController {
$this->display();
}
/**
*公司信息管理
*/
public function company_info()
{
$str = "company_info";
$this->BaseConfig($str);
$this->meta_title = '公司信息管理';
$this->display();
}
}

@ -0,0 +1,134 @@
<extend name="Public/base"/>
<block name="body">
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
<script type="text/javascript" src="__JS__/select2.min.js"></script>
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">{$meta_title}</h3>
<p class="description_text">公司对外展示信息管理</p>
</div>
<div class="tab-wrap">
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab1" class="tab-pane in tab1">
<div class="tab-content-subpan jssubpan clearfix current">
<form action="{:U('saveTool')}" method="post" class="form-horizontal company_info form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">公司名称</td>
<td class="r table_radio">
<input name="config[name]" type="text" value="{$company_info['name']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">联系人</td>
<td class="r table_radio">
<input name="config[link_name]" type="text" value="{$company_info['link_name']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">联系电话</td>
<td class="r table_radio">
<input name="config[link_phone]" type="text" value="{$company_info['link_phone']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">邮寄地址</td>
<td class="r table_radio">
<input name="config[address]" type="text" value="{$company_info['address']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">公司税号</td>
<td class="r table_radio">
<input name="config[company_tax_no]" type="text" value="{$company_info['company_tax_no']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">收款方名称</td>
<td class="r table_radio">
<input name="config[payee_name]" type="text" value="{$company_info['payee_name']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">银行账号</td>
<td class="r table_radio">
<input name="config[bank_account]" type="text" value="{$company_info['bank_account']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">开户行</td>
<td class="r table_radio">
<input name="config[opening_bank]" type="text" value="{$company_info['opening_bank']}" class="">
<span class="notice-text"></span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="company_info">
<input type="submit" id="submit" value="确定" target-form="company_info" class="submit_btn form_btn ajax-post mlspacing">
</form>
</div>
</div>
</div>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="{$m_url}">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script type="text/javascript">
//导航高亮
highlight_subnav('{:U('Tool/company_info')}');
Think.setValue('status','{$company_info_data.status|default=0}');
$(function(){
//支持tab
showTab();
})
</script>
</block>
Loading…
Cancel
Save