<!--列设置-->
<div class="modal fade" id="row-view" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">列显示</h5>
            </div>
            <div class="modal-body">
                <table class="table table-bordered table-sm">
                    <thead>
                    <tr><th>列项</th><th width="90">显示</th></tr>
                    </thead>
                    <tbody id="row-view-list">
                    <tr><td>签约合同</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>施工图复核</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>本期计量合同</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>本期数量变更</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>本期完成计量</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>截止本期合同计量</td><td><input type="checkbox"></td></tr>
                    <tr><td>截止本期数量变更</td><td><input type="checkbox"></td></tr>
                    <tr><td>截止本期完成计量</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>图册号</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>累计完成率(%)</td><td><input type="checkbox" checked=""></td></tr>
                    <tr><td>备注</td><td><input type="checkbox" checked=""></td></tr>
                    </tbody>
                </table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" id="row-view-ok">确认</button>
            </div>
        </div>
    </div>
</div>
<!--弹出调用变更令-->
<div class="modal fade" id="use-bg" data-backdrop="static">
    <div class="modal-dialog modal-lgx" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">使用变更令</h5>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-7">
                        <ul class="nav nav-tabs">
                            <li class="nav-item">
                                <div class="custom-control custom-checkbox my-2">
                                    <input class="custom-control-input" id="customCheckDisabled" checked="" type="checkbox">
                                    <label class="custom-control-label" for="customCheckDisabled">显示可变更数量为0项 </label>
                                </div>
                            </li>
                        </ul>
                        <div class="modal-height-500">
                            <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>
                    <div class="col-5">
                        <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="modal-height-500" style="overflow: auto">
                            <div class="tab-content">
                                <div id="bgsm" class="tab-pane active">
                                    <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 id="detail" class="tab-pane">
                                    <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 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>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary">添加</button>
            </div>
        </div>
    </div>
</div>
<!--添加草图-->
<div class="modal fade" id="edit-img" data-backdrop="static">
    <div class="modal-dialog modal-lgx" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">添加草图</h5>
            </div>
            <div class="modal-body">
                <p><a href="" class="btn btn-outline-primary btn-sm">上传图片</a></p>
                <div class="img-view">
                    <div class="img-item">
                        <div class="img-bar">
                            <a href="" class="text-danger" title="删除"><i class="fa fa-remove"></i></a>
                        </div>
                        <img src="img/sketch/1.png" id="draggable">
                    </div>
                    <div class="img-item" style="left:300px;">
                        <div class="img-bar">
                            <a href="" class="text-danger" title="删除"><i class="fa fa-remove"></i></a>
                        </div>
                        <img src="img/sketch/2.png" id="draggable">
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" >确认</button>
            </div>
        </div>
    </div>
</div>
<!--上传附件-->
<div class="modal fade" id="upload" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">上传附件</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="formGroupExampleInput">大小限制：10MB，支持<span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="doc,docx,xls,xlsx,ppt,pptx,pdf">office等文档格式</span>、<span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="jpg,png,bmp">图片格式</span>、<span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="rar,zip">压缩包格式</span></label>
                    <input type="file" class="form-control">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" >确认</button>
            </div>
        </div>
    </div>
</div>
<% include ./audit_modal.ejs %>