<!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 colspan="4">
                                <span class="detailContentBox-tabletitle">业务信息</span>
                            </td>
                        </tr>
                        <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" placeholder="请选择核心企业">
                                <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);" >
                                    <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="buyerId">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">贸易平台</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <!-- <input type="text" readOnly name="tradePlatform" id="tradePlatform" class="form-control" placeholder="请选择贸易平台"> -->
                                <div>
                                    <select class="form-control" name="tradePlatform" placeholder="请选择贸易平台"></select>
                                </div>
                            </td>
                        </tr>
<!--                        <tr>-->
<!--                            <td width="15%">-->
<!--                                <span class="">业务编号</span>：-->
<!--                            </td>-->
<!--                            <td width="35%" class="enter">-->
<!--                                <input type="text" readonly name="businessNo" class="form-control">-->
<!--                            </td>-->
<!--                            <td width="15%">-->
<!--                                <span class="required_fileds_star">创建时间</span>：-->
<!--                            </td>-->
<!--                            <td width="35%" class="enter">-->
<!--                                <input type="text" name="creatTime" readonly class="form-control">-->
<!--                            </td>-->
<!--                        </tr>-->
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">业务名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="businessName" class="form-control" maxlength="50">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">履约保证金上限</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="depositLimit" class="form-control amountInput" maxlength="50" value="0.00">
                                <i class="viewDetailWord">元</i>
                                <!-- <input type="text" name="retentionLimit" class="form-control " readonly
                                th:value="${purchContractInfo?.purchContractRetentionInfo?.retentionLimit}"> -->

                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span >业务经理</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <input type="text" name="managerName"   th:value="${managerName}"  readonly class="form-control" maxlength="50">
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">项目内容</span>：
                            </td>
                            <td colspan="3" class="enter" style="border-bottom: 1px solid #E8F0F3;">
                                <textarea class="form-control" style="resize:none;" name="projectContent" rows="4" maxlength="500"></textarea>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row">
                    <table class="supplierTable">
                        <tr>
                            <td colspan="3">
                                <span class="detailContentBox-tabletitle">供应商列表</span>
                                <ul class="allSupplier" style="display:none;"></ul>
                            </td>
                        </tr>
                        <tr>
                            <td width="12%">
                                <span>编号</span>
                            </td>
                            <td width="75%">
                                <span>供应商名称</span>
                            </td>
                            <td width="13%">
                                <span>操作</span>
                            </td>
                        </tr>
                        <tbody>
                        <tr class="supplierListTbody">
                            <td width="12%" style="background-color:#fff;">
                                <span>1</span>
                            </td>
                            <td width="75%" style="background-color:#fff;" class="enter">

                                <input type="text" readOnly id="supplier" name="supplier" class="form-control supplier" placeholder="请选择供应商">
                                <div class="entCustomerListBox supplierListBox" id="supplierListBox" 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 searchSupplier" id="searchSupplier" 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="supplierId" class="supplierId">
                                <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>
                        </tbody>
                    </table>
                </div>

                <div class="row">
                    <table class="fileInfoListBox">
                        <tr>
                            <td colspan="3">
                                <span class="detailContentBox-tabletitle">招投标文件</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span>招投标文件</span>：
                            </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>
                    </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/businessManage/businessAdd.js"></script>
</html>
