<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>纵横公路养护云造价</title>


    <link rel="stylesheet" href="/lib/jquery-ui/jquery-ui.css" type="text/css">
    <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap-submenu.css">
    <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css" type="text/css">
    <link rel="stylesheet" href="/web/building_saas/css/main.css">
    <link rel="stylesheet" href="/web/building_saas/css/custom.css">
    <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
    <link rel="stylesheet" href="/lib/jquery-contextmenu/jquery.contextMenu.css" type="text/css">
    <link rel="stylesheet" href="/lib/jquery-editable-select/jquery.editable-select.min.css" type="text/css">
    <!--zTree-->
    <link rel="stylesheet" href="/lib/ztree/css/zTreeStyle.css" type="text/css">
    <!--SpreadJs-->
   <!-- <link rel="stylesheet" href="/lib/jquery-ui/jquery-ui.css" type="text/css">
    <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css" type="text/css">-->
    <link rel="stylesheet" href="/lib/spreadjs/views/gc.spread.views.dataview.10.0.0.css">
    <!-- jquery.contextmenu -->
   <!-- <link rel="stylesheet" href="/lib/jquery-contextmenu/jquery.contextMenu.css" type="text/css">-->

    <link rel="shortcut icon" href="/web/building_saas/css/favicon.ico">
    <link rel="icon" type="image/gif" href="/web/building_saas/css/animated_favicon1.gif">
    <style type="text/css">
        .ztree * {
            font-family: Calibri;
            font-size: 0.9rem;
        }
    </style>

</head>
<script type="text/javascript">
  let unitPriceFileID = parseInt('<%- unitPriceFileID %>');
  let userID = '<%- userID %>';
  let projectID = '<%- projectID %>';
  let unitPriceList = JSON.parse(`<%- unitpriceList %>`);
  let gljTypeMap = JSON.parse(`<%- gljTypeMap %>`);
  let mixRatioMap = JSON.parse(`<%- mixRatioMap %>`);
  let com_electrovalence = JSON.parse(`<%- com_electrovalence %>`);
</script>
<body oncontextmenu="return false;">  <!--屏蔽input鼠标右键-->
<!--<div id="toolToastWrap" style="left: 20px; right: 30px; position: fixed; z-index: 10001; top: 100px;">
    <div id="toolToast" class="toolToast">
        <span id="tool-toast-content">右键不支持粘贴外部内容，请使用Ctrl+V粘贴。<span id="toolToastBtn">我知道了</span></span>
    </div>
</div>-->

    <div class="header">
         <div class="top-msg clearfix">
            <div class="alert alert-warning alert-dismissible" role="alert" id="notify" style="display: none">
                <button type="button" class="close" aria-label="Close" onclick="$('#notify').hide();">
                  <span aria-hidden="true">&times;</span>
                </button>
                <strong id="message"></strong>-
            </div>
        </div>
        <nav class="navbar navbar-expand-lg p-0 d-flex <%= versionName.includes('免费') ? 'free-version' : 'pro-version' %>">
          <div class="unit_price_header header-logo ">
            <h5>单价文件编辑器</h5>
          </div>
          <div class="navbar-text navbar-crumb px-1 mr-auto" id="fullpath">   
            <span class="text-muted px-1"></span>
            <span data-toggle="tooltip" data-placement="bottom" data-original-title="<%= rootProjectName%>"><i class="fa fa-cubes"></i>...</span>
            <span class="text-muted px-1"></span>
             <span><i class="fa fa-puzzle-piece"></i></span>
            <span class="text-truncate" data-toggle="tooltip" data-placement="bottom" data-original-title="<%= unitFileName%>">&nbsp;<%= unitFileName%></span>
            &nbsp;(<span class="a_color" data-toggle="tooltip" id="pop-used-list"  style="float: none;" data-original-title="" title="<%= usedTenderString%>">与<span id="used-project-count" style="float: none;">1</span>个单位工程同步</span>)
          </div>
        </nav>
    </div>
    <div class="main">
        <div class="content" style="margin-left: 0px;">
          <div class="tab-content">
              <!--造价书-->
              <div class="container-fluid">
                  <div class="row" id="mainRow">
                      <!--col-lg-12 p-0-->
                      <div class="main-content" style="width: 100%; display: inline-block" id="main">
                          <div class="top-content" id="top_div" style="overflow:hidden;">
                              <div class="main-data-top" id="mainSpread"></div>
                          </div>
                          <div class="resize-y" id="mainVerticalResize"></div>
                          <div class="bottom-content" id="bottom_div">
                              <ul class="nav nav-tabs" role="tablist" id="bottom_div_ul">  
                                  <li class="nav-item" id="GLJ_div">
                                      <a class="nav-link sub-item active" id="linkGLJ" data-toggle="tab" href="#subSpread" role="tab">组成物计算</a>
                                  </li>                                
                              </ul>
                              <!-- Tab panes -->
                              <div class="tab-content" id="tabCon">
                                  <div class="tab-pane active" id="subItems" role="tabpanel">
                                     <div class="main-data-bottom ovf-hidden" id="subSpread" tabindex="0"></div>
                                  </div>
                              </div>
                          </div>
                      </div>
                      </div>
                  </div>
              </div>
            </div>


        </div>
    </div>
   
  <!--工料机选择窗口-->
  <div class="modal fade" id="glj_tree_div" data-backdrop="static">
    <div class="modal-dialog modal-lg" role="document" id="modalCon">
        <div class="modal-content" style="width: 1020px; left:50%; transform: translate(-50%,0%);">
            <div class="modal-header">
                <h5 class="modal-title">请选择工料机</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <input type="hidden" id="actionType">
            </div>
            <div class="modal-body" style="padding-left: 0; padding-right: 3px; margin-left: 0;">
                    <div style="width: 32%; float: left;">
                        &nbsp;
                        <select class="form-control  form-control-sm form-control-inline" id="glj-lib-select">
                        </select>
<!--                            <input type="radio" class="glj-radio" name="glj" value="stdGLJ">标准&nbsp;&nbsp;
                        <input type="radio" class="glj-radio" name="glj" value="complementaryGLJs">补充&nbsp;&nbsp; -->
                        <div  class="modal-auto-height" id="componentTreeDiv" style=" height: 435px; overflow: hidden;">
                            <!--<div class="print-list">-->
                            <div style="width: 100%; height: 100%; overflow: auto">
                                <ul id="gljTree" class="ztree"></ul>
                            </div>
                            <!--</div>-->
                        </div>
                    </div>
                    <div style="width:67%; padding-left: 3px; float: left;">
                        <div id="gljRadios">
                            <div class="row">
                                <div class="col-7" style="margin-top: 5px;">
                                    <!--<input type="radio" class="glj-radio" name="glj" value="allGljs" checked>所有&nbsp;&nbsp;
                                    <input type="radio" class="glj-radio" name="glj" value="stdGLJ">标准&nbsp;&nbsp;
                                    <input type="radio" class="glj-radio" name="glj" value="complementaryGLJs">补充&nbsp;&nbsp;-->
                                </div>
                                <div class="input-group col-5" style="margin-bottom: 5px;">
                                    <input type="text" class="form-control form-control-sm" placeholder="请输入筛选编码或名称" value="" id="gljSearchKeyword">
                                    <!--  <span class="input-group-btn"><button class="btn btn-secondary btn-sm" type="button" id="gljSearch"><i class="fa fa-search" aria-hidden="true"></i></button></span>-->
                                </div>
                            </div>
                            <!-- <div class="form-group"><input id="searchGlj" type="text" class="form-control-sm" placeholder="查询工料机"></div>-->
                        </div>
                        <div class="modal-auto-height" style="overflow: hidden;height: 420px" id="gljLibSheet">

                        </div>
                    </div>
              </div>
              <div class="modal-footer" style="position: relative;">
                  <a href="/complementaryGlj" target="_blank" class="btn btn-primary" style="position: absolute; left: 20px">新增人材机</a>
                  <a href="javascript:void(0);" id="glj_selected_conf" class="btn btn-primary">确定</a>
                  <a href="javascript:void(0);" id="replace_next_btn" class="btn btn-primary">下一步</a>
                  <button type="button" id="componentsCacnel" class="btn btn-secondary" data-dismiss="modal">取消</button>
              </div>
          </div>
      </div>
  </div>
   
 
   
    <img src="/web/dest/css/img/folder_open.png" id="folder_open_pic" style="display: none">
    <img src="/web/dest/css/img/folder_close.png" id="folder_close_pic" style="display: none">
    <img src="/web/dest/css/img/project.png" id="proj_pic" style="display: none">
    <img src="/web/dest/css/img/engineering.png" id="eng_pic" style="display: none">
    <img src="/web/dest/css/img/tender.png" id="tender_pic" style="display: none">

    <img src="/web/dest/css/img/blockLib.png" id="blockLib_pic" style="display: none">
    <img src="/web/dest/css/img/folder_open.png" id="folder_pic" style="display: none">
    <img src="/web/dest/css/img/tender.png" id="block_pic" style="display: none">

        <!-- JS. -->
    <script src="/lib/jquery/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="/lib/jquery-ui/jquery-ui.min.js"></script>
    <script src = "/lib/spreadjs/sheets/gc.spread.sheets.all.11.1.2.min.js"></script>
    <script src="/lib/spreadjs/sheets/interop/gc.spread.excelio.11.1.2.min.js"></script>
    <script>GC.Spread.Sheets.LicenseKey =  '<%- LicenseKey %>';</script>
    <script type="text/javascript" src="/lib/jquery-ui/jquery-ui-datepickerCN.js"></script>
    <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.contextMenu.js"></script>
    <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.ui.position.js"></script>
    <script src="/lib/spreadjs/views/gc.spread.views.dataview.10.0.0.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/lib/ztree/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="/lib/ztree/jquery.ztree.excheck.js"></script>
    <!--<script src="/lib/spreadjs/views/common/gc.spread.common.10.0.0.min.js" type="text/javascript"></script>-->
    <script src="/lib/spreadjs/views/plugins/gc.spread.views.gridlayout.10.0.0.min.js" type="text/javascript"></script>
    <script src="/lib/js-xlsx/xlsx.core.min.js"></script>
    <script src="/lib/lz-string/lz-string.min.js"></script>
    <script type="text/javascript" src="/lib/jspdf/jspdf.min.js"></script>
    <!-- inject:js -->
    <script src="/lib/popper/popper.min.js"></script>
    <script src="/lib/bootstrap/bootstrap.min.js"></script>
    <script src="/lib/bootstrap/bootstrap-submenu.js"></script>
    <script src="/web/building_saas/glj/js/socket.io.slim.js"></script>
    <script src="/public/web/socket/connection.js"></script>
    <script type="text/javascript" src="/web/building_saas/js/moment.min.js"></script>
    <script type="text/javascript" src="/web/building_saas/js/message.js"></script>
    <script type="text/javascript" src="/public/web/scMathUtil.js"></script>
    <script type="text/javascript" src="/public/web/gljUtil.js"></script>
    <script type="text/javascript" src="/public/web/PerfectLoad.js"></script>
    <script type="text/javascript" src="/lib/lodash/lodash.js"></script>
    <script type="text/javascript" src="/public/web/commonAlert.js"></script>
    <script type="text/javascript" src="/public/web/headerOpr.js"></script>
    <script type="text/javascript" src="/public/web/common_ajax.js"></script>
    <script type="text/javascript" src="/public/common_util.js"></script>
    <script src="/public/common_constants.js"></script>
    <script type="text/javascript" src="/public/web/treeDataHelper.js"></script>
    <script type="text/javascript" src="/public/web/ztree_common.js"></script>
    <script type="text/javascript" src="/web/building_saas/main/js/models/main_consts.js"></script>
    <script type="text/javascript" src="/lib/jquery-editable-select/jquery.editable-select.min.js"></script>
    <script type="text/javascript" src="/public/web/tree_sheet/tree_sheet_helper.js"></script>
    <script type="text/javascript" src="/public/web/sheet/sheet_data_helper.js"></script>
    <script type="text/javascript" src="/public/web/sheet/sheet_common.js"></script>
    <script type="text/javascript" src="/public/web/slideResize.js"></script>
    <script type="text/javascript" src="/web/building_saas/main/js/views/glj_view_contextMenu.js"></script>
    <script type="text/javascript" src="/web/building_saas/main/js/views/glj_view.js"></script>
    <script type="text/javascript" src="/web/building_saas/main/js/views/options_view.js"></script>
    <script type="text/javascript" src='/web/building_saas/main/js/views/project_glj_view.js'></script>
    <script type="text/javascript" src="/web/building_saas/unit_price_file/index.js"></script>
    <!-- endinject -->


        
   
</body>
</html>
