<!--现金流管理--银行信息设置--查看银行账户 -->
<div class="base-extend">
    <div class="modal fade businessDialog" id="myModal-viewBankAccountInfo" data-backdrop="static">
        <div class="modal-dialog" style="width:9rem;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true" style="font-size:0.18rem">×</span><span class="sr-only">关闭</span>
                </button>
                <span class="modal-title">查看银行账户信息</span>
            </div>
            <div class="modal-content" >
                <div class="newTabAddUpdateBox" style="position:static;border:none;padding-left:0.2rem;padding-right:0.2rem;padding-bottom:0;">
                    <div class="row">
                        <table>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">公司归属</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" class="form-control " readOnly th:value="${bankCardInfo?.companyBelongDict?.name}">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">银行名称</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" class="form-control " readOnly th:value="${bankCardInfo?.bankName}">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">银行卡号</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" class="form-control " readOnly th:value="${bankCardInfo?.bankAccount}">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">生效日期</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" readOnly class="form-control " th:value="${#calendars.format(bankCardInfo?.effectiveDate,'yyyy-MM-dd')}">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">期初数值</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" class="form-control amountInput" readOnly th:value="${bankCardInfo?.beginValue}">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">币种</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" class="form-control " readOnly th:value="${bankCardInfo?.currencyDict?.name}">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">状态</span>：
                                </td>
                                <td colspan="3" style="background-color: #fff" th:text="${bankCardInfo?.status=='1'?'启用':'禁用'}">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="">备注</span>：
                                </td>
                                <td colspan="3" class="enter">
                                    <textarea maxlength="300" style="resize:none;padding:0.05rem 0.1rem !important;" class="form-control autosize-transition " readOnly rows="3" th:text="${bankCardInfo?.remark}"></textarea>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-default btn-white btn-info canclebtn" data-dismiss="modal" style='margin-bottom:0;'>关闭</button>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(".amountInput").val(commaDelimiter($('.amountInput').val()))
</script>
