<% 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>
                        <span class="dropdown-item-text text-danger">
                            <div class="input-group input-group-sm">
                                <input type="number" step="5" class="form-control m-0" placeholder="100" max="100" min="50" id="over-percent" value="100">
                                <div class="input-group-append">
                                    <span class="input-group-text" id="basic-addon2">%</span>
                                </div>
                            </div>
                        </span>
                    </div>
                </div>
            </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 class="bcontent-wrap" id="main-bottom">
                <div id="main-resize" class="resize-y" r-Type="height" div1="#gcl-spread" div2="#main-bottom" store-id="stage-gather" store-version="1.0.0" min="100"></div>
                <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>
    const stage = JSON.parse('<%- JSON.stringify(ctx.stage) %>');
    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) %>');
    const dealBills = JSON.parse('<%- JSON.stringify(dealBills) %>');
</script>