<% include ../tender/tender_sub_menu.ejs %>
<div class="panel-content">
    <div class="panel-title">
        <div class="title-main d-flex justify-content-between">
            <div>
                <div class="dropdown">
                    <button class="btn btn-sm btn-light dropdown-toggle text-primary" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        超计显示
                    </button>
                    <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="width:290px">
                        <span class="dropdown-item-text text-danger">累计完成合同计量 大于</span>
                        <form class="px-4 py-3">
                            <div class="form-group">
                                <div class="custom-control custom-radio">
                                    <input type="radio" id="customRadio1" name="customRadio" class="custom-control-input" checked="">
                                    <label class="custom-control-label" for="customRadio1">施工图复核数量</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="custom-control custom-radio">
                                    <input type="radio" id="customRadio2" name="customRadio" class="custom-control-input">
                                    <label class="custom-control-label" for="customRadio2">签约清单数量</label>
                                </div>
                            </div>
                            <div class="form-group mb-0">
                                <div class="custom-control custom-radio">
                                    <input type="radio" id="customRadio3" name="customRadio" class="custom-control-input">
                                    <label class="custom-control-label" for="customRadio3">施工图复核数量 或 签约清单数量</label>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div>
                <a href="#sub-sp" data-toggle="modal" data-target="#sub-sp" class="btn btn-primary btn-sm pull-right">上报审批</a>
                <a href="#sub-sp2" data-toggle="modal" data-target="#sub-sp2" class="btn btn-primary btn-sm pull-right">重新上报</a>
            </div>
        </div>
    </div>
    <div class="content-wrap">
        <div class="c-header p-0"></div>
        <div class="c-body">
            <div class="sjs-height-1" id="gcl-spread">
            </div>
            <div id="main-resize" r-Type="height" div1="#gcl-spread" div2="#main-bottom" store-id="stage-gather" min="100"></div>
            <div class="bcontent-wrap" id="main-bottom">
                <div class="bc-bar mb-1">
                    <ul class="nav nav-tabs">
                        <li class="nav-item">
                            <a class="nav-link active" data-toggle="tab" href="#xmujie" role="tab">所属项目节</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link " data-toggle="tab" href="#biangeng" role="tab">相关变更令</a>
                        </li>
                    </ul>
                </div>
                <div class="tab-content">
                    <div class="tab-pane active" id="xmujie">
                        <div class="sp-wrap" id="leaf-xmj-spread">
                        </div>
                    </div>
                    <div class="tab-pane" id="biangeng">
                        <div class="sp-wrap">
                            <table class="table table-sm table-bordered">
                                <tr><th>变更令</th><th>名称</th><th>批复文号</th><th>变更图号</th><th>数量</th></tr>
                                <tr><td>BGL01</td><td>XX变更令</td><td></td><td></td><td>100</td></tr>
                                <tr><td>BGL02</td><td>YY变更令</td><td></td><td></td><td>80</td></tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    GC.Spread.Sheets.LicenseKey = "559432293813965#A0y3iTOzEDOzkjMyMDN9UTNiojIklkI1pjIEJCLi4TPB9mM5AFNTd4cvZ7SaJUVy3CWKtWYXx4VVhjMpp7dYNGdx2ia9sEVlZGOTh7NRlTUwkWR9wEV4gmbjBDZ4ElR8N7cGdHVvEWVBtCOwIGW0ZmeYVWVr3mI0IyUiwCMzETN8kzNzYTM0IicfJye&Qf35VfiEzRwEkI0IyQiwiIwEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsIyNyMzM5ADI5ADNwcTMwIjI0ICdyNkIsIibj9SbvNmL4N7bjRnch56ciojIz5GRiwiI8+Y9sWY9QmZ0Jyp96uL9v6L0wap9biY9qiq95q197Wr9g+89iojIh94Wiqi";
</script>
<script>
    const gclSpreadSetting = JSON.parse('<%- JSON.stringify(gclSpread) %>');
    const leafXmjSpreadSetting = JSON.parse('<%- JSON.stringify(leafXmjSpread) %>');
    const ledger = JSON.parse('<%- JSON.stringify(ledger) %>');
    const curLedgerData = JSON.parse('<%- JSON.stringify(curLedgerData) %>');
    const pos = JSON.parse('<%- JSON.stringify(pos) %>');
    const curPosData = JSON.parse('<%- JSON.stringify(curPosData) %>');
</script>