<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>企业信息管理</title>
    <link rel="stylesheet" type="text/css" href="/css/external/fileUploadBase.css">
    <style>
        .btn-info:active,
        .btn-info:focus {
            background-color: #fff;
        }

        li.notcompanyli:hover {
            color: #333 !important;
        }

        .base-extend .newTabAddUpdateBox td.enter .viewDetailWord {
            width: 0.35rem;
            text-align: center;
            top: 0.08rem;
            color: #333 !important;
            cursor: default;
            font-style: normal;
        }
        .error option, select.error{
            color: #333!important;
        }
    </style>
</head>
<body>
<div class="base-extend">
    <div class="addHeader">
        <div class="breadcrumb" style="margin-top:0;">
            <i class="icon-chevron-sign-left newBackBtn"></i>
            <li>企业信息管理</li>
            <li>供应商账户信息维护</li>
        </div>
    </div>
    <div class="detailContentBox">
        <form class="form-horizontal" id="businessAddForm" autocomplete="off">
            <div class="newTabAddUpdateBox">
                <div class="row">
                    <table>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">供应商名称</span>：
                            </td>
                            <td width="85%" class="enter">
                                <input type="hidden" name="basicId" th:value="${bankDetail?.id}">
                                <input type="text" name="businessName" readonly class="form-control" th:value="${bankDetail.enterpriseName}">
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row">
                    <table class="paymentTable">
                        <tr>
                            <td colspan="5">
                                <span class="detailContentBox-tabletitle">银行账户</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="12%">
                                <span>序号</span>
                            </td>
                            <td width="25%">
                                <span>所属银行</span>
                            </td>
                            <td width="25%">
                                <span>账户名称</span>
                            </td>
                            <td width="25%">
                                <span>账号</span>
                            </td>
                            <td width="13%">
                                <span>操作</span>
                            </td>
                        </tr>
                        <tbody>
                        <tr class="paymentListTbody">
                            <td width="12%" style="background-color:#fff;">
                                <span>1</span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="enter">
                                <input type="text" name="bankBelong" maxlength="50" class="form-control bankBelong">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入所属银行</span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="enter">
                                <input type="text" name="accountName" maxlength="50" class="form-control accountName">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入账户名称</span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="enter">
                                <input type="text" name="account" maxlength="50" class="form-control account">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入账号</span>
                            </td>
                            <td width="13%" style="background-color:#fff;">
                                <span class="negativeInformationPlus">+添加</span>
                                <span class="negativeInformationReduce">-删除</span>
                            </td>
                        </tr>
                        <tr class="paymentListTbody paymentListTbodyBack" th:each="banksItem,paymentTermStat:${bankDetail?.banks}">
                            <td width="12%" style="background-color:#fff;">
                                <span th:text="${paymentTermStat.count}"></span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="enter">
                                <input type="text" name="bankBelong" maxlength="50" class="form-control bankBelong" th:value="${banksItem.bankName}">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入所属银行</span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="enter">
                                <input type="text" name="accountName" maxlength="50" class="form-control accountName" th:value="${banksItem.accountName}">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入账户名称</span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="enter">
                                <input type="text" name="account" maxlength="50" class="form-control account" th:value="${banksItem.accountNumber}">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入账号</span>
                            </td>
                            <td width="25%" style="display:none;font-size:0.12rem;" class="enter">
                                <input type="text" name="banksId" maxlength="50" class="form-control banksId" th:value="${banksItem.id}">
                            </td>
                            <td width="13%" style="background-color:#fff;">
                                <span class="negativeInformationPlus">+添加</span>
                                <span class="negativeInformationReduce">-删除</span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>

            </div>
            <div class="yk_addBtns yk_addNewMsg newTabAddUpdateBtnBox">
                <button class="btn btn-white btn-info colorbtn submitBusiness">提交</button>
                <button class="btn btn-white btn-info btn-cancel">关闭</button>
            </div>
        </form>
    </div>
</div>
</body>
<script src="/js/customerInformation/supplierBankAccount.js"></script>
</html>
