<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>现金流管理---银行信息设置</title>
    <link rel="stylesheet" href="/css/external/enterPriseBusiness/enterPriseBusiness.css" type="text/css">
    <style>

    </style>
<body>
<!-- 新增/修改 银行信息的弹框 -->
<div id="bankAccountInfoDialog"></div>

<!-- 修改 银行信息的弹框 -->
<div id="bankAccountInfoDialog2"></div>

<div class="base-extend">
    <ol class="breadcrumb">
        <li>现金流管理</li>
    </ol>
    <div class="listBackBox" style="padding-top:0;">
        <div class="projectTableBox" id="formForProjectListBox" style="margin:0;">
            <ul class="projectListTab">
                <li tag:hasPermission="recashflowManage">现金流管理</li>
                <li class="active" tag:hasPermission="bankInformationSettings">银行信息设置</li>
            </ul>
            <div class="customerMarketingList formForProjectList col-xs-12 businessTable" style="left:0;padding:0.1rem 0.2rem 0 0.2rem;" tipword="银行信息设置">
                <div class="row" style="margin:0;padding:0.1rem 0;">
                    <div style="width:auto;float:left;">
                        <button id="bankAccountInfoAdd" class="btn btn-white btn-info colorbtn" tag:hasPermission="addBankInformation">新增</button>
<!--                        <button id="refresh" class="btn btn-white btn-info">刷新</button>-->
                    </div>
                    <div style="float:right;">
                        <div style="float:right;">
                            <button id="query" class="btn btn-white btn-info colorbtn" style="margin-right:0;">查询</button>
                        </div>
                        <div style="float:right;width:1.7rem;margin-right:0.05rem;">
                            <input style="width:100%" maxlength="30" class="form-control" id="bankCardNoName" placeholder="请输入银行名称／卡号" />
                        </div>
                        <div style="float:right;width:2.6rem;margin-right:0.05rem;">
                            <div class="dropdown">
                                <button class="btn" id="companyOwnerId" type="button" data-toggle="dropdown" style="width:100%;text-align:left;font-size:0.12rem;"><i style="font-style:normal">请选择公司归属</i><span class="caret" style="float:right;margin-top:0.07rem;border-width:0.05rem;"></span></button>
                                <ul class="dropdown-menu companySelect" style="min-width:1.6rem;">
                                    <li value='' class="companyOwner"><a javascript:void(0) style="padding-left:0.08rem;">请选择公司归属</a></li><li class="divider" style="margin:0"></li>
                                    <li th:each="companyOwnership,companyOwnerships:${companyOwnershipList}" th:value="${companyOwnership?.id}" class="companyOwner"><a style="padding-left:0.08rem;" javascript:void(0) th:text="${companyOwnership?.name}"></a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <table id="bankAccountInfoList" style="width: 100%;"></table>
                <div id="bankAccountListPage"></div>
            </div>
        </div>
    </div>
</div>
<!-- 有禁用权限 -->
<div style="display:none" id="disableBankAccountInfo">
    <div class="operateIcon noHover">
        <p><span>查看</span><i class="operateIconfont operateIcon-chakan" onclick="viewBankAccountInfo(this)"></i></p>
        <p><span>修改</span><i class="operateIconfont operateIcon-bianji" tag:hasPermission="updateBankInformation" onclick="updateBankAccountInfoBtn(this)"></i></p>
        <p><span>删除</span><i class="operateIconfont operateIcon-shanchu" tag:hasPermission="deleteBankInformation" onclick="deleteBankAccountInfo(this)"></i></p>
        <p><span>禁用</span><i class="operateIconfont operateIcon-jinyong" tag:hasPermission="disableBankInformation" onclick="disabledBankAccountInfo(this)"></i></p>
    </div>
</div>
<!-- 有启用权限 -->
<div style="display:none" id="enableBankAccountInfo">
    <div class="operateIcon noHover">
        <p><span>查看</span><i class="operateIconfont operateIcon-chakan" onclick="viewBankAccountInfo(this)"></i></p>
        <p><span>修改</span><i class="operateIconfont operateIcon-bianji" tag:hasPermission="updateBankInformation" onclick="updateBankAccountInfoBtn(this)"></i></p>
        <p><span>删除</span><i class="operateIconfont operateIcon-shanchu" tag:hasPermission="deleteBankInformation" onclick="deleteBankAccountInfo(this)"></i></p>
        <p><span>启用</span><i class="operateIconfont operateIcon-qiyong" tag:hasPermission="disableBankInformation" onclick="disabledBankAccountInfo(this)"></i></p>
    </div>
</div>
<script src="/js/bankCard/bankAccountInfoList.js"></script>
</body>
</html>
