<!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">
        <p class="detailContentBox-title">新增</p>
        <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="35%" class="enter">
                                <ul class="allBuyer" style="display:none;"></ul>
                                <input type="text" readOnly name="buyer" id="buyer" class="form-control">
                                <div class="entCustomerListBox buyerListBox" style="position:absolute !important;z-index:999;background-color: #fff;border: 1px solid #ccc;box-shadow: 0px 0px 2px 2px rgba(62, 192, 230,0.3);display:none;">
                                    <input type="text" class="form-control" style="margin:0.05rem auto;width:97%;border-color: #5AC4FC;box-shadow: inset 0 1px 1px rgba(90,196,252,.075), 0 0 8px rgba(90,196,252,.6);" placeholder="可输入关键词查询">
                                    <button class="btn btn-info btn-white colorbtn searchBuyer" style="position:absolute;right:0;top:0.05rem;height:0.34rem;width:0.3rem;text-align:center;padding-left:0;padding-right:0;">查</button>
                                    <ul style="overflow:auto;"></ul>
                                </div>
                                <input type="hidden" id="customerId">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">业务名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <ul class="allBus" style="display:none;"></ul>
                                <input type="text" readOnly name="businessName" id="businessName" class="form-control">
                                <div class="entCustomerListBox busListBox" style="position:absolute !important;z-index:999;background-color: #fff;border: 1px solid #ccc;box-shadow: 0px 0px 2px 2px rgba(62, 192, 230,0.3);display:none;">
                                    <input type="text" class="form-control" style="margin:0.05rem auto;width:97%;border-color: #5AC4FC;box-shadow: inset 0 1px 1px rgba(90,196,252,.075), 0 0 8px rgba(90,196,252,.6);" placeholder="可输入关键词查询">
                                    <button class="btn btn-info btn-white colorbtn searchBus" style="position:absolute;right:0;top:0.05rem;height:0.34rem;width:0.3rem;text-align:center;padding-left:0;padding-right:0;">查</button>
                                    <ul style="overflow:auto;"></ul>
                                </div>
                                <input type="hidden" id="businessNameId">
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="">业务编号</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <input type="text" readonly name="businessNumber" class="form-control">
                            </td>
                        </tr>
                        <tr>
<!--                            <td width="15%">-->
<!--                                <span class="required_fileds_star">入账方</span>：-->
<!--                            </td>-->
<!--                            <td width="35%" class="enter">-->
<!--                                <select class="form-control" name="entryParty" >-->
<!--                                    <option value="">请选择</option>-->
<!--                                    <option value="1">买方</option>-->
<!--                                    <option value="2">卖方</option>-->
<!--                                </select>-->
<!--                            </td>-->
                            <td width="15%">
                                <span class="required_fileds_star">类型</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <select class="form-control" name="cashType" tag:option="cashFlowEntryType"></select>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="row">
                    <table>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">公司归属</span>：
                            </td>
                            <td width="35%" class="enter">
                                <select class="form-control" name="companyBelong" >

                                </select>
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">银行名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <select class="form-control" name="bankName" >

                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">银行卡号</span>：
                            </td>
                            <td width="35%" class="enter">
                                <select class="form-control" name="bankAccount" >

                                </select>
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">币种</span>：
                            </td>
                            <td width="35%" class="enter">
                                <select name="currencyDictId" tag:option="currencyType" id="currency" class="form-control"></select>
                            </td>
<!--                            <td width="15%">-->
<!--                                <span class="required_fileds_star">币种</span>：-->
<!--                            </td>-->
<!--                            <td width="35%" class="enter">-->
<!--                                <select class="form-control" name="currency" tag:option="currencyType">-->

<!--                                </select>-->
<!--                            </td>-->
                        </tr>
                        <tr class="RecordedAmount">
                            <td width="15%">
                                <span class="required_fileds_star">入账金额</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <input type="text" name="amount2" class="form-control amountInput">
                            </td>
                        </tr>
<!--                        <tr class="amountTr">-->

<!--                        </tr>-->
                        <tr class="actualAmountTr" style="display: none">
                            <td width="15%">
                                <span class="required_fileds_star">票据金额</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="billAmount" class="form-control amountInput">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">实际金额</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="amount" class="form-control amountInput">
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">入账日期</span>：
                            </td>
                            <td width="35%" class="enter" style="border-bottom: none">
                                <input type="text" readonly name="cashDate" class="form-control">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">当前执行人</span>：
                            </td>
                            <td width="35%" class="enter" style="border-bottom: none">
                                <input type="text" readonly name="currExecutor" class="form-control" th:value="${currExecutor?.name}">
                            </td>
                        </tr>
                        <!-- <tr>
                            <td width="15%">
                                <span class="">附件</span>：
                            </td>
                            <td colspan="4" class="enter">
                                <textarea id="unifiedEditor" class="" style="height:400px;width:100%;"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="">备注</span>：
                            </td>
                            <td colspan="3" class="enter" style="border-bottom: 1px solid #E8F0F3;">
                                <textarea class="form-control" style="resize:none;" name="remark" rows="4" maxlength="500"></textarea>
                            </td>
                        </tr> -->
                    </table>
                    <table>
                        <tr>
                            <td width="15%">
                                <span class="">附件</span>：
                            </td>
                            <td colspan="4" class="enter">
                                <textarea id="unifiedEditor" class="" style="height:400px;width:100%;"></textarea>
                            </td>
                            <!-- <td class="enter addFileList">
                                <input type="file"  class="fileinput" multiple style="display:none">
                                <div class="uploaderFile">
                                    <div class="fileContent">
                                        <span class="spanHolder">上传附件</span>
                                    </div>
                                </div>
                            </td>
                            <td width="13%" class="choiceFile" style="text-align:center;">
                                +上传附件
                            </td> -->
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="">备注</span>：
                            </td>
                            <td colspan="3" class="enter" style="border-bottom: 1px solid #E8F0F3;">
                                <textarea class="form-control" style="resize:none;" name="remark" rows="4" maxlength="500"></textarea>
                            </td>
                        </tr>
                    </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/cashFlow/add.js"></script>
</html>
