<div class="panel-content">
    <div class="panel-title fluid">
        <div class="title-main d-flex justify-content-between">
            <div>
                <div class="d-inline-block">
                    <ul class="nav nav-pills m-0">
                        <li class="nav-item"><a class="nav-link" href="/stage">返回</a></li>
                        <li class="nav-item"><a class="nav-link active" href="/stage/<%- stage.order %>/measure">本期计量台帐</a></li>
                        <li class="nav-item"><a class="nav-link" href="/stage/<%- stage.order %>/deal">合同支付</a></li>
                        <li class="nav-item"><a class="nav-link" href="/stage/<%- stage.order %>/report">报表</a></li>
                    </ul>
                </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> -->
                <!--
                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" class="btn btn-outline-secondary btn-sm pull-right">审批中</a>
                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" class="btn btn-outline-warning btn-sm pull-right text-muted">审批退回</a>
                <a href="#sp-done" data-toggle="modal" data-target="#sp-done" class="btn btn-success btn-sm pull-right">审批通过</a>
                <a href="#sp-back" data-toggle="modal" data-target="#sp-back" class="btn btn-warning btn-sm pull-right">审批退回</a> -->
                <a href="#add-qd3" data-toggle="modal" data-target="#add-qd3" class="btn btn-success btn-sm pull-right">添加计量清单</a>
            </div>
        </div>
    </div>
    <div class="content-wrap pr-46">
        <div class="c-header p-0">
        </div>
        <div class="row w-100 sub-content">
            <div class="c-body col-8">
                <div class="sjs-height-1" id="billsSpread">
                </div>
            </div>
            <div class="c-body col">
                <div class="tab-content">
                    <!--变更令-->
                    <div id="biangeng" class="tab-pane active">
                        <!--变更令二级tab-->
                        <div class="sjs-bar">
                            <ul class="nav nav-tabs">
                                <li class="nav-item">
                                    <a class="nav-link active show" data-toggle="tab" href="#keybg" role="tab" aria-selected="true">可用变更令</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" data-toggle="tab" href="#bglhz" role="tab" aria-selected="false">变更令汇总</a>
                                </li>
                            </ul>
                        </div>
                        <!--变更令二级tab内容-->
                        <div class="tab-content">
                            <!--可用变更令-->
                            <div id="keybg" class="tab-pane active">
                                <div class="sjs-bart">
                                    <table class="table table-bordered table-sm mt-1">
                                        <tr><th>当前变更清单</th><th>清单名称</th><th>变更数量</th></tr>
                                        <tr><td>202-1-1</td><td>清理现场</td><td>120</td></tr>
                                    </table>
                                    <div class="row">
                                        <div class="col-auto">
                                            <div class="form-check-inline">
                                                <label class="form-check-label">
                                                    <input class="form-check-input" type="checkbox">
                                                    显示可变更数量为0项
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="sjs-height-5">
                                    <table class="table table-bordered">
                                        <tr><th>已用</th><th>变更令号</th><th>名称</th><th>总数量</th><th>可变更数量</th><th>本期计量</th></tr>
                                        <tr><td><i class="fa fa-check text-success"></i></td><td>CW01-BG-1</td><td>增加清淤换填数量</td><td>100</td><td>50</td><td>20</td></tr>
                                        <tr><td><i class="fa fa-check text-success"></i></td><td>CW01-BG-2</td><td>增加挖淤及回填数量</td><td>150</td><td>120</td><td>100</td></tr>
                                        <tr><td></td><td>CW01-BG-3</td><td>增加清淤换填数量</td><td>150</td><td>100</td><td></td></tr>
                                    </table>
                                </div>
                                <div class="sjs-bottom">
                                    <ul class="nav nav-tabs">
                                        <li class="nav-item">
                                            <a class="nav-link active" data-toggle="tab" href="#bgsm" role="tab">工程变更理由及内容</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" data-toggle="tab" href="#detail" role="tab">更多变更信息</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" data-toggle="tab" href="#fujian" role="tab">附件</a>
                                        </li>
                                    </ul>
                                    <div class="tab-content">
                                        <div id="bgsm" class="tab-pane active">
                                            <div class="sjs-bottom-2">
                                                <div class="form-group">
                                                    <label></label>
                                                    <textarea class="form-control form-control-sm" rows="6" readonly>由于K0+532涵洞基底土质天然含水率为25%、收费站出口右侧加宽段K0+120-K0+190段基底土质天然含水率为28.8%。含水率较大形成过湿土，地基松软，无法满足承载力要求。经处项目办、设计、监理、施工单位四方勘察，采用抛石挤淤、砂砾换填以达到地基承载力。
                                    </textarea>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="detail" class="tab-pane">
                                            <div class="sjs-bottom-2">
                                                <div class="form-group mt-3">
                                                    <label>批复编号</label>
                                                    <input class="form-control form-control-sm" value="LZTJ-1标项目部发变更(2015)001号" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>工程名称</label>
                                                    <input class="form-control form-control-sm" value="收费站出口右侧加宽段及K0+532基底换填" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>桩号</label>
                                                    <input class="form-control form-control-sm" value="K0+532" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>原设计图名称</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>原图号</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更设计图名称</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更图号</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>工程变更理由及内容</label>
                                                    <textarea class="form-control form-control-sm" rows="6" readonly>由于K0+532涵洞基底土质天然含水率为25%、收费站出口右侧加宽段K0+120-K0+190段基底土质天然含水率为28.8%。含水率较大形成过湿土，地基松软，无法满足承载力要求。经处项目办、设计、监理、施工单位四方勘察，采用抛石挤淤、砂砾换填以达到地基承载力。
                                    </textarea>
                                                </div>
                                                <div class="form-group">
                                                    <label>工程变更合同依据</label>
                                                    <textarea class="form-control form-control-sm" rows="6" readonly></textarea>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更类型</label>
                                                    <div class="checkbox">
                                                        <label class="checkbox-inline">
                                                            <input id="inlineCheckbox1" value="option1" checked="" type="checkbox" disabled>A.位置
                                                        </label>
                                                        <!-- <label class="checkbox-inline">
                                                          <input id="inlineCheckbox2" value="option2" type="checkbox">B.数量
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" type="checkbox">C.结构
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" checked="" type="checkbox">D.新增
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" type="checkbox">E.取消
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" type="checkbox">F.纠错
                                                        </label> -->
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更类别 </label>
                                                    <select class="form-control form-control-sm" disabled><option>A类变更（设计变更）</option><option>B类变更（施工措施变）</option><option>C类变更（计划变更）</option><option>D类变更（条件变更）</option><option>E类变更（新增工程）</option></select>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更性质 </label>
                                                    <select class="form-control form-control-sm" disabled><option>一般设计变更</option><option>较大设计变更</option><option>重大设计变更</option></select>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更提出单位</label>
                                                    <!-- <a href="#editcompany" style="float:right;" class="" data-toggle="modal">编辑</a> -->
                                                    <select class="form-control form-control-sm" disabled><option>AA公司</option><option>BB公司</option></select>
                                                </div>
                                                <div class="form-group">
                                                    <label>费用承担方</label>
                                                    <div class="radio">
                                                        <label class="radio-inline">
                                                            <input id="inlineCheckbox1" value="option1" checked="" type="radio" disabled> 业主
                                                        </label>
                                                        <!-- <label class="radio-inline">
                                                          <input id="inlineCheckbox2" value="option2" type="radio"> 承包人
                                                        </label> -->
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label>备注</label>
                                                    <textarea class="form-control form-control-sm" rows="3" readonly></textarea>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="fujian" class="tab-pane">
                                            <table class="table table-bordered">
                                                <tr><th>名称</th><th>上传者</th></tr>
                                                <tr><td><a href="">合同段工程变更现场办公会议纪要的通知.rar</a></td><th>张三</th></tr>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!--变更令汇总-->
                            <div id="bglhz" class="tab-pane">
                                <div class="sjs-bart">
                                    <select class="form-control form-control-sm"><option>全部</option><option>本期已用变更令</option></select>
                                </div>
                                <div class="sjs-height-5">
                                    <table class="table table-bordered">
                                        <tr><th>变更令号</th><th>名称</th><th>金额</th><th>批复文号</th><th>已执行(%)</th></tr>
                                        <tr><td>CW01-BG-1</td><td>增加清淤换填数量</td><td></td><td></td><td></td></tr>
                                        <tr><td>CW01-BG-2</td><td>增加挖淤及回填数量</td><td></td><td></td><td></td></tr>
                                        <tr><td>CW01-BG-3</td><td>增加清淤换填数量</td><td></td><td></td><td></td></tr>
                                    </table>
                                </div>
                                <div class="sjs-bottom">
                                    <ul class="nav nav-tabs">
                                        <li class="nav-item">
                                            <a class="nav-link active" data-toggle="tab" href="#bgqd" role="tab">变更清单</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" data-toggle="tab" href="#detail2" role="tab">变更信息</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" data-toggle="tab" href="#fujian2" role="tab">附件</a>
                                        </li>
                                    </ul>
                                    <div class="tab-content">
                                        <!--变更清单-->
                                        <div id="bgqd" class="tab-pane active">
                                            <div class="sjs-bottom-2">
                                                <table class="table table-bordered">
                                                    <tr><th>清单编号</th><th>名称</th><th>单位</th><th>单价</th><th>数量</th><th>金额</th><th>已变更</th></tr>
                                                </table>
                                            </div>
                                        </div>
                                        <!--变更信息-->
                                        <div id="detail2" class="tab-pane">
                                            <div class="sjs-bottom-2">
                                                <div class="form-group mt-3">
                                                    <label>批复编号</label>
                                                    <input class="form-control form-control-sm" value="LZTJ-1标项目部发变更(2015)001号" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>工程名称</label>
                                                    <input class="form-control form-control-sm" value="收费站出口右侧加宽段及K0+532基底换填" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>桩号</label>
                                                    <input class="form-control form-control-sm" value="K0+532" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>原设计图名称</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>原图号</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更设计图名称</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更图号</label>
                                                    <input class="form-control form-control-sm" placeholder="" type="text" readonly>
                                                </div>
                                                <div class="form-group">
                                                    <label>工程变更理由及内容</label>
                                                    <textarea class="form-control form-control-sm" rows="6" readonly>由于K0+532涵洞基底土质天然含水率为25%、收费站出口右侧加宽段K0+120-K0+190段基底土质天然含水率为28.8%。含水率较大形成过湿土，地基松软，无法满足承载力要求。经处项目办、设计、监理、施工单位四方勘察，采用抛石挤淤、砂砾换填以达到地基承载力。
                                    </textarea>
                                                </div>
                                                <div class="form-group">
                                                    <label>工程变更合同依据</label>
                                                    <textarea class="form-control form-control-sm" rows="6" readonly></textarea>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更类型</label>
                                                    <div class="checkbox">
                                                        <label class="checkbox-inline">
                                                            <input id="inlineCheckbox1" value="option1" checked="" type="checkbox" disabled>A.位置
                                                        </label>
                                                        <!-- <label class="checkbox-inline">
                                                          <input id="inlineCheckbox2" value="option2" type="checkbox">B.数量
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" type="checkbox">C.结构
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" checked="" type="checkbox">D.新增
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" type="checkbox">E.取消
                                                        </label>
                                                        <label class="checkbox-inline">
                                                          <input id="inlineCheckbox3" value="option3" type="checkbox">F.纠错
                                                        </label> -->
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更类别 </label>
                                                    <select class="form-control form-control-sm" disabled><option>A类变更（设计变更）</option><option>B类变更（施工措施变）</option><option>C类变更（计划变更）</option><option>D类变更（条件变更）</option><option>E类变更（新增工程）</option></select>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更性质 </label>
                                                    <select class="form-control form-control-sm" disabled><option>一般设计变更</option><option>较大设计变更</option><option>重大设计变更</option></select>
                                                </div>
                                                <div class="form-group">
                                                    <label>变更提出单位</label>
                                                    <!-- <a href="#editcompany" style="float:right;" class="" data-toggle="modal">编辑</a> -->
                                                    <select class="form-control form-control-sm" disabled><option>AA公司</option><option>BB公司</option></select>
                                                </div>
                                                <div class="form-group">
                                                    <label>费用承担方</label>
                                                    <div class="radio">
                                                        <label class="radio-inline">
                                                            <input id="inlineCheckbox1" value="option1" checked="" type="radio" disabled> 业主
                                                        </label>
                                                        <!-- <label class="radio-inline">
                                                          <input id="inlineCheckbox2" value="option2" type="radio"> 承包人
                                                        </label> -->
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label>备注</label>
                                                    <textarea class="form-control form-control-sm" rows="3" readonly></textarea>
                                                </div>
                                            </div>
                                        </div>
                                        <!--附件-->
                                        <div id="fujian2" class="tab-pane">
                                            <table class="table table-bordered">
                                                <tr><th>名称</th><th>上传者</th></tr>
                                                <tr><td><a href="">合同段工程变更现场办公会议纪要的通知.rar</a></td><th>张三</th></tr>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--中间计量表-->
                    <div id="jlbiao" class="tab-pane">
                        <div class="sjs-bar row">
                            <div class="col">
                                <div class="input-group input-group-sm">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text" id="basic-addon3">表号前缀</span>
                                    </div>
                                    <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
                                </div>
                            </div>
                            <div class="col-auto">
                                <div class="form-group">
                                    <div class="form-check form-check-inline">
                                        <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1">
                                        <label class="form-check-label" for="inlineRadio1">总量控制</label>
                                    </div>
                                    <div class="form-check form-check-inline">
                                        <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2">
                                        <label class="form-check-label" for="inlineRadio2">0号台帐</label>
                                    </div>
                                </div>
                            </div>
                            <div class="col-auto">
                                <button class="btn btn-sm btn-outline-primary">生成数据</button>
                            </div>
                        </div>
                        <div class="sjs-height-3">
                            <table class="table table-bordered">
                                <tr><th>编号</th><th>中间计量表号</th><th>交工证书/凭证表</th></tr>
                            </table>
                        </div>
                        <div class="sjs-bottom">
                            <ul class="nav nav-tabs">
                                <li class="nav-item">
                                    <a class="nav-link active" data-toggle="tab" href="#zj" role="tab" aria-selected="false">中间计量数据</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" data-toggle="tab" href="#ct" role="tab" aria-selected="true">计算草图</a>
                                </li>
                            </ul>
                            <div class="tab-content">
                                <div class="tab-pane active" id="zj">
                                    <div class="sjs-bottom-2">
                                        <!--总量控制-->
                                        <div class="form-group">
                                            <label>本期计量数量：</label>
                                            <input class="form-control form-control-sm" type="number">
                                        </div>
                                        <!--0号台帐-->
                                        <div class="form-group">
                                            <label>本期计量金额：</label>
                                            <input class="form-control form-control-sm" type="number">
                                        </div>
                                        <div class="form-group">
                                            <label>变更令号：</label>
                                            <input class="form-control form-control-sm" type="text">
                                        </div>
                                        <div class="form-group">
                                            <label>部位：</label>
                                            <input class="form-control form-control-sm" type="text">
                                        </div>
                                        <div class="form-group">
                                            <label>起始桩号：</label>
                                            <input class="form-control form-control-sm" type="text">
                                        </div>
                                        <div class="form-group">
                                            <label>分部分项工程：</label>
                                            <input class="form-control form-control-sm" type="text">
                                        </div>
                                        <div class="form-group">
                                            <label>计量单元：</label>
                                            <input class="form-control form-control-sm" type="text">
                                        </div>
                                        <div class="form-group">
                                            <label>图号：</label>
                                            <input class="form-control form-control-sm" type="text">
                                        </div>
                                        <div class="form-group">
                                            <label>计算式说明：</label>
                                            <textarea class="form-control"></textarea>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane" id="ct">
                                    <div class="sjs-bottom-2">
                                        <div class="form-group">
                                            <a href="#edit-img" data-toggle="modal" data-target="#edit-img"  class="pull-right">添加草图</a>
                                            <label>计算草图：</label>
                                            <p class="form-control"><img src="img/sketch/2.png" class="d-100"></p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--中间审批记录-->
                    <div id="spjilu" class="tab-pane">
                        <div class="side-bar">
                            <table class="table table-bordered m-0">
                                <tr><th>清单编号</th><th>清单名称</th><th>上报数量</th></tr>
                                <tr><td>201-1</td><td>清理现场</td><td>10</td></tr>
                            </table>
                        </div>
                        <div class="sjs-height-2">
                            <table class="table table-bordered">
                                <tr><th>审批人</th><th>审批数量</th><th>审批意见</th></tr>
                                <tr><td>张三</td><td>15</td><td>审批意见文本</td></tr>
                                <tr><td>王五</td><td>20</td><td>审批意见文本</td></tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="side-menu">
            <!--右侧菜单-->
            <ul class="nav flex-column right-nav">
                <li class="nav-item">
                    <a class="nav-link active" data-toggle="tab" href="#biangeng" role="tab">变更令</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#jlbiao" role="tab">分布分项</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#spjilu" role="tab">审批记录</a>
                </li>
            </ul>
        </div>
    </div>
</div>