<% include ../tender/tender_sub_menu.ejs %>
<div class="panel-content">
    <div class="panel-title">
        <div class="title-main d-flex justify-content-between">
            <div>
                <a class="btn btn-sm btn-light">
                    <div class="custom-control custom-checkbox">
                        <input type="checkbox" class="custom-control-input" id="customCheckDisabled" checked="">
                        <label class="custom-control-label text-primary" for="customCheckDisabled">显示本期计量</label>
                    </div>
                </a>
                <% if (ctx.stage.status !== auditConst.status.uncheck) { %>
                <button href="#cate-set" class="btn btn-sm btn-light text-primary" data-toggle="modal" data-target="#select-qi"><i class="fa fa-users"></i> 选择比较人</button>
                <% } %>
            </div>
        </div>
    </div>
    <div class="content-wrap">
        <div class="c-header p-0"></div>
        <div class="c-body">
            <div class="sjs-height-1" id="ledger-spread">
            </div>
            <div id="main-resize" r-Type="height" div1="#ledger-spread" div2="#main-bottom" store-id="stage-compare" 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>
                    </ul>
                </div>
                <div class="tab-content">
                    <div class="tab-pane active" id="xmujie">
                        <div class="sp-wrap" id="pos-spread">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    GC.Spread.Sheets.LicenseKey = "559432293813965#A0y3iTOzEDOzkjMyMDN9UTNiojIklkI1pjIEJCLi4TPB9mM5AFNTd4cvZ7SaJUVy3CWKtWYXx4VVhjMpp7dYNGdx2ia9sEVlZGOTh7NRlTUwkWR9wEV4gmbjBDZ4ElR8N7cGdHVvEWVBtCOwIGW0ZmeYVWVr3mI0IyUiwCMzETN8kzNzYTM0IicfJye&Qf35VfiEzRwEkI0IyQiwiIwEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsIyNyMzM5ADI5ADNwcTMwIjI0ICdyNkIsIibj9SbvNmL4N7bjRnch56ciojIz5GRiwiI8+Y9sWY9QmZ0Jyp96uL9v6L0wap9biY9qiq95q197Wr9g+89iojIh94Wiqi";
</script>
<script>
    //const auditors = JSON.parse(<%- JSON.stringify(ctx.stage.auditors) %>);
    const ledgerSpreadSetting = JSON.parse('<%- JSON.stringify(ledgerSpread) %>');
    const posSpreadSetting = JSON.parse('<%- JSON.stringify(posSpread) %>');
    const ledger = JSON.parse('<%- JSON.stringify(ledger) %>');
    const orgStageLedger = JSON.parse('<%- JSON.stringify(orgStageLedger) %>');
    const pos = JSON.parse('<%- JSON.stringify(pos) %>');
    const orgStagePos = JSON.parse('<%- JSON.stringify(orgStagePos) %>');
</script>