main.html 116 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta http-equiv="x-ua-compatible" content="ie=edge">
  7. <title><%= projectData.name !== undefined ? projectData.name : '造价书' %>-纵横云计价</title>
  8. <!-- inject:css -->
  9. <link rel="stylesheet" href="/lib/jquery-ui/jquery-ui.css" type="text/css">
  10. <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
  11. <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css" type="text/css">
  12. <link rel="stylesheet" href="/web/building_saas/css/main.css">
  13. <link rel="stylesheet" href="/web/building_saas/css/custom.css">
  14. <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
  15. <link rel="stylesheet" href="/lib/jquery-contextmenu/jquery.contextMenu.css" type="text/css">
  16. <!--zTree-->
  17. <link rel="stylesheet" href="/lib/ztree/css/zTreeStyle.css" type="text/css">
  18. <!--SpreadJs-->
  19. <!-- <link rel="stylesheet" href="/lib/jquery-ui/jquery-ui.css" type="text/css">
  20. <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css" type="text/css">-->
  21. <link rel="stylesheet" href="/lib/spreadjs/views/gc.spread.views.dataview.10.0.0.css">
  22. <!-- jquery.contextmenu -->
  23. <!-- <link rel="stylesheet" href="/lib/jquery-contextmenu/jquery.contextMenu.css" type="text/css">-->
  24. <!-- endinject -->
  25. <script>
  26. // 这里的变量供页面调用
  27. let lockBills = '<%- projectData.property.lockBills %>';
  28. let userAccount = '<%- userAccount %>';
  29. let userID = '<%- userID %>';
  30. let projectReadOnly = JSON.parse('<%- projectReadOnly %>');
  31. </script>
  32. </head>
  33. <body>
  34. <!--<div id="toolToastWrap" style="left: 20px; right: 30px; position: fixed; z-index: 10001; top: 100px;">
  35. <div id="toolToast" class="toolToast">
  36. <span id="tool-toast-content">右键不支持粘贴外部内容,请使用Ctrl+V粘贴。<span id="toolToastBtn">我知道了</span></span>
  37. </div>
  38. </div>-->
  39. <div class="header">
  40. <div class="top-msg clearfix">
  41. <div class="alert alert-warning mb-0 py-0" role="alert" id="notify" style="display: none">
  42. <button type="button" class="close" aria-label="Close" onclick="$('#notify').hide();">
  43. <span aria-hidden="true">&times;</span>
  44. </button>
  45. <strong id="message"></strong>-
  46. </div>
  47. </div>
  48. <%include ../../../common/html/header.html %>
  49. </div>
  50. <div class="main">
  51. <div class="main-nav">
  52. <ul class="nav nav-tabs flex-column" role="tablist">
  53. <li class="nav-item"><a class="active" data-toggle="tab" href="#zaojiashu" id="tab_zaojiashu" role="tab">造价书</a></li>
  54. <li class="nav-item"><a data-toggle="tab" href="#project_glj" id="tab_project_glj" data-name="tab_project_glj" role="tab">人材机汇总</a></li>
  55. <li class="nav-item"><a data-toggle="tab" href="#fee_rates" id="tab_fee_rate" role="tab" >费率</a></li>
  56. <li class="nav-item"><a data-toggle="tab" href="#calc_program_manage" id="tab_calc_program_manage" role="tab">计算程序</a></li>
  57. <li class="nav-item"><a data-toggle="tab" href="#tender_price" id="tab_tender_price" role="tab">调价</a></li>
  58. <li class="nav-item"><a data-toggle="tab" href="#reports" role="tab" id="tab_report" onclick="rptTplObj.iniPage();">报表</a></li>
  59. </ul>
  60. </div>
  61. <div class="content">
  62. <div class="tab-content">
  63. <div class="tab-pane active" id="zaojiashu" role="tabpanel">
  64. <!--造价书-->
  65. <div class="toolsbar px-1 d-flex justify-content-between">
  66. <div class="tools-btn btn-group align-top">
  67. <!--<a href="javascript:void(0)" class="btn btn-sm" title="复制" ><i class="fa fa-files-o" aria-hidden="true"></i></a>
  68. <a href="javascript:void(0)" class="btn btn-sm" title="剪切"><i class="fa fa-scissors" aria-hidden="true"></i></a>
  69. <a href="javascript:void(0)" class="btn btn-sm" title="粘贴"><i class="fa fa-clipboard" aria-hidden="true"></i></a>-->
  70. <a class="btn btn-light btn-sm" href="javascript:void(0);" aria-expanded="false" data-toggle="modal" data-target="#poj-set"><i class="fa fa-cog" data-toggle="tooltip" data-original-title="项目属性" data-placement="bottom"></i></a>
  71. <span class="btn btn-light btn-sm" id="importSpan">
  72. <a class="dropdown-toggle" href="#" data-toggle="dropdown"><i class="fa fa-cloud-upload" data-toggle="tooltip" data-original-title="导入" data-placement="bottom"></i></a>
  73. <div class="dropdown-menu">
  74. <a id="uploadLj" class="dropdown-item" href="#import" data-toggle="modal" data-target="#import">导入09表Excel清单</a>
  75. <a id="uploadGld" class="dropdown-item" href="#import" data-toggle="modal" data-target="#import">导入广联达算量Excel清单</a>
  76. </div>
  77. </span>
  78. <a href="javascript:void(0)" class="btn btn-light btn-sm" id="insertRation" data-toggle="tooltip" data-placement="bottom" data-original-title="插入定额"><i class="fa fa-sign-in" aria-hidden="true"></i></a>
  79. <a href="javascript:void(0)" class="btn btn-light btn-sm" id="delete" data-toggle="tooltip" data-placement="bottom" data-original-title="删除"><i class="fa fa-remove" aria-hidden="true"></i></a>
  80. <a href="javascript:void(0)" class="btn btn-light btn-sm" id="upLevel" data-toggle="tooltip" data-placement="bottom" data-original-title="升级"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>
  81. <a href="javascript:void(0)" class="btn btn-light btn-sm" id="downLevel" data-toggle="tooltip" data-placement="bottom" data-original-title="降级"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>
  82. <a href="javascript:void(0)" class="btn btn-light btn-sm" id="upMove" data-toggle="tooltip" data-placement="bottom" data-original-title="上移"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
  83. <a href="javascript:void(0)" class="btn btn-light btn-sm" id="downMove" data-toggle="tooltip" data-placement="bottom" data-original-title="下移"><i class="fa fa-arrow-down" aria-hidden="true"></i></a>
  84. <span class="btn btn-light btn-sm">
  85. <a href="" data-toggle="dropdown"><span data-placement="bottom"><i class="fa fa-list-ol"></i></span> 显示至...</a>
  86. <div class="dropdown-menu dropdown-menu-left" style="min-width: 6.5rem">
  87. <a class="dropdown-item" href="javascript:void(0);" id="displayDXFY">大项费用</a>
  88. <a class="dropdown-item" href="javascript:void(0);" id="displayFB1">一级分部</a>
  89. <a class="dropdown-item" href="javascript:void(0);" id="displayFB2">二级分部</a>
  90. <a class="dropdown-item" href="javascript:void(0);" id="displayFB3">三级分部</a>
  91. <a class="dropdown-item" href="javascript:void(0);" id="displayFB4">四级分部</a>
  92. <a class="dropdown-item" href="javascript:void(0);" id="displayFX">分项</a>
  93. <a class="dropdown-item" href="javascript:void(0);" id="displayZM">子目</a>
  94. <a class="dropdown-item" href="javascript:void(0);" id="displayZD">最底层</a>
  95. </div>
  96. </span>
  97. <a href="javascript:void(0);" id="ZLFB_btn" class="btn btn-light btn-sm" data-placement="bottom"><i class="fa fa-retweet" aria-hidden="true"></i> 整理分部</a>
  98. <% if (projectData.property.lockBills == true) { %>
  99. <a href="javascript:void(0)" class="btn btn-light btn-sm" name="lockBills"> <i class="fa fa-unlock-alt" aria-hidden="true"></i> 解锁清单</a>
  100. <% } else { %>
  101. <a href="javascript:void(0)" class="btn btn-light btn-sm" name="lockBills"> <i class="fa fa-lock" aria-hidden="true"></i> 锁定清单</a>
  102. <% } %>
  103. <a id="switchTznr" href="javascript:void(0);" class="btn btn-light btn-sm"><i class="fa fa-eye" aria-hidden="true"></i> 显示特征</a>
  104. </div>
  105. <div class="side-tabs">
  106. <ul class="nav nav-tabs" role="tablist">
  107. <li class="nav-item">
  108. <a class="nav-link px-3" href="javascript:void(0)" id = 'stdBillsGuidanceTab' relaPanel="#zy">清单指引</a>
  109. </li>
  110. <li class="nav-item">
  111. <a class="nav-link px-3" href="javascript:void(0)" id = 'stdBillsTab' relaPanel="#qd">清单规则</a>
  112. </li>
  113. <li class="nav-item">
  114. <a class="nav-link px-3" href="javascript:void(0)" id="stdRationTab" relaPanel="#de">定额库</a>
  115. </li>
  116. <li class="nav-item">
  117. <a class="nav-link px-3" href="javascript:void(0)" id="blockLibTab" relaPanel="#kmbk">块模板库</a>
  118. </li>
  119. </ul>
  120. </div>
  121. </div>
  122. <div class="container-fluid">
  123. <div class="row">
  124. <!--col-lg-12 p-0-->
  125. <div class="main-content" style="width: 100%; display: inline-block" id="main">
  126. <div class="top-content">
  127. <div class="main-data-top" id="billsSpread"></div>
  128. </div>
  129. <div class="resize"></div>
  130. <div class="bottom-content">
  131. <ul class="nav nav-tabs" role="tablist">
  132. <li class="nav-item">
  133. <a class="nav-link active" id="linkGLJ" data-toggle="tab" href="#subSpread" role="tab">人材机</a>
  134. </li>
  135. <!-- <li class="nav-item">
  136. <a class="nav-link" id="linkFZTJ" data-toggle="tab" href="#subSpread" role="tab">附注条件</a>
  137. </li>
  138. <li class="nav-item">
  139. <a class="nav-link" id="linkFZDE" data-toggle="tab" href="#subSpread" role="tab">辅助定额</a>
  140. </li>-->
  141. <li class="nav-item">
  142. <a class="nav-link" id="linkZMHS" data-toggle="tab" href="#subSpread" role="tab">子目换算</a>
  143. </li>
  144. <li class="nav-item" id="AZZJF_div" style="display: none">
  145. <a class="nav-link" id="linkAZZJF" data-toggle="tab" href="#subSpread" role="tab">安装增加费</a>
  146. </li>
  147. <li class="nav-item">
  148. <a class="nav-link" id="linkGCLMX" data-toggle="tab" href="#subSpread" role="tab">工程量明细</a>
  149. </li>
  150. <li class="nav-item">
  151. <a class="nav-link" id="linkJSCX" data-toggle="tab" href="#subSpread" role="tab">计算程序</a>
  152. </li>
  153. <li class="nav-item">
  154. <a class="nav-link" data-toggle="tab" href="#comments" role="tab" id="linkComments">说明信息</a>
  155. </li>
  156. <li class="nav-item">
  157. <a class="nav-link" id="linkTZJNR" data-toggle="tab" href="#subSpread" role="tab">特征及内容</a>
  158. </li>
  159. </ul>
  160. <!-- Tab panes -->
  161. <div class="tab-content" id="tabCon">
  162. <div class="tab-pane active" id="subItems" role="tabpanel">
  163. <div class="main-data-bottom ovf-hidden" id="subSpread" style="display: none" tabindex="0">
  164. </div>
  165. <div class="main-data-bottom ovf-hidden" id="tabZMHS" style="display: none">
  166. <div class=" main-data-bottom ovf-hidden" style="width: 50%; float: left; margin: 0; padding:0;" id="coeSpread"></div>
  167. <div class=" main-data-bottom ovf-hidden" style="width: 50%; float: left; margin: 0; padding:0;" id="assSpread"></div>
  168. </div>
  169. <div class="main-data-bottom ovf-hidden" style="display: none" id="comments">
  170. <textarea class="form-control" rows="8" readonly=""></textarea>
  171. </div>
  172. <div id="tzjnrCon" class="container-fluid main-data-bottom" style="background: #F1F1F1">
  173. <div class="row" style="overflow: hidden">
  174. <div class="col-4 p-0">
  175. <div class="main-data-bottom ovf-hidden" id="jobSpread">
  176. </div>
  177. <!--工具栏-->
  178. <div class="bottom-tools btn-group position-absolute">
  179. <a href="javascript:void(0);" id="jobInsert" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="插入"><i class="fa fa-sign-in" aria-hidden="true"></i></a>
  180. <a href="javascript:void(0);" id="jobAdd" class="btn btn-sm " data-toggle="tooltip" data-placement="bottom" title="" data-original-title="添加"><i class="fa fa-plus" aria-hidden="true"></i></a>
  181. <a href="javascript:void(0);" id="jobDel" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="删除"><i class="fa fa-remove" aria-hidden="true"></i></a>
  182. <a href="javascript:void(0);" id="jobDown" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="下移"><i class="fa fa-arrow-down" aria-hidden="true"></i></a>
  183. <a href="javascript:void(0);" id="jobUp" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="上移"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
  184. </div>
  185. </div>
  186. <div class="col-4 p-0">
  187. <div class="main-data-bottom ovf-hidden" id="itemSpread">
  188. </div>
  189. <!--工具栏-->
  190. <div class="bottom-tools btn-group position-absolute">
  191. <a href="javascript:void(0);" id="itemInsert" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="插入"><i class="fa fa-sign-in" aria-hidden="true"></i></a>
  192. <a href="javascript:void(0);" id="itemAdd" class="btn btn-sm " data-toggle="tooltip" data-placement="bottom" title="" data-original-title="添加"><i class="fa fa-plus" aria-hidden="true"></i></a>
  193. <a href="javascript:void(0);" id="itemDel" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="删除"><i class="fa fa-remove" aria-hidden="true"></i></a>
  194. <a href="javascript:void(0);" id="itemDown" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="下移"><i class="fa fa-arrow-down" aria-hidden="true"></i></a>
  195. <a href="javascript:void(0);" id="itemUp" class="btn btn-sm disabled" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="上移"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
  196. </div>
  197. </div>
  198. <!-- <div class="col-auto p-0">
  199. <div class="tn-nav d-flex align-items-start flex-column" data-toggle="tooltip" data-placement="left" title="" data-original-title="打开排版规则">
  200. <span class="mt-3 ml-2 text-primary">排版规则</span>
  201. <i class="fa fa-arrow-left mt-auto mb-3 text-primary ml-2"></i>
  202. </div>
  203. </div>-->
  204. <div class="col-4 p-0">
  205. <div class="main-data-bottom" id="add-rule" style="display: none;">
  206. <div class="container-fluid my-2">
  207. <p style="text-align: center">
  208. <% if (projectData.property.lockBills == true) { %>
  209. <button class="btn btn-primary btn-sm disabled" type="button" id="use-to-current">应用到选中清单</button>
  210. <button class="btn btn-primary btn-sm disabled" type="button" id="use-to-all">应用到所有清单</button>
  211. <% } else { %>
  212. <button class="btn btn-primary btn-sm" type="button" id="use-to-current">应用到选中清单</button>
  213. <button class="btn btn-primary btn-sm" type="button" id="use-to-all">应用到所有清单</button>
  214. <% } %>
  215. </p>
  216. <div class="mb-1 row">
  217. <label class="col-5 px-0 col-form-label text-right">添加位置:</label>
  218. <div class="col-7">
  219. <select id="add-position" class="form-control form-control-sm">
  220. <option value="1" selected="selected">添加到项目特征列</option>
  221. <option value="2">添加到清单名称列</option>
  222. <option value="3">添加到工作内容列</option>
  223. <option value="4">分别添加到对应列</option>
  224. </select>
  225. </div>
  226. </div>
  227. <div class="mb-1 row">
  228. <label class="col-sm-5 px-0 col-form-label text-right">添加内容:</label>
  229. <div class="col-sm-7">
  230. <select id="add-content" class="form-control form-control-sm">
  231. <option value="">无</option>
  232. <option value="1" selected="selected">项目特征+工作内容</option>
  233. <option value="2">工作内容+项目特征</option>
  234. <option value="3">项目特征</option>
  235. <option value="4">工作内容</option>
  236. <option value="5">定额子目</option>
  237. </select>
  238. </div>
  239. </div>
  240. <div class="mb-1 row">
  241. <label class="col-5 px-0 col-form-label text-right">显示格式:</label>
  242. <div class="col-7">
  243. <select id="display-format" class="form-control form-control-sm">
  244. <option value="1" selected="selected">换行分隔</option>
  245. <option value="2">逗号分隔</option>
  246. <option value="3">括号分隔</option>
  247. </select>
  248. </div>
  249. </div>
  250. <div class="mb-1 row">
  251. <label class="col-5 px-0 col-form-label text-right">特征生成方式:</label>
  252. <div class="col-7">
  253. <select id="character-format" class="form-control form-control-sm">
  254. <option value="1">特征值</option>
  255. <option value="2" selected="selected">特征:特征值</option>
  256. </select>
  257. </div>
  258. </div>
  259. <div class="mb-1 row">
  260. <label class="col-5 px-0 col-form-label text-right">子目生成方式:</label>
  261. <div class="col-7">
  262. <select id="child-display-format" disabled="disabled" class="form-control form-control-sm">
  263. <option value="1" selected="selected">编号+定额名称</option>
  264. <option value="2">序号+定额名称</option>
  265. </select>
  266. </div>
  267. </div>
  268. <div class="mb-1 row">
  269. <label class="col-5 px-0 col-form-label text-right">序号格式:</label>
  270. <div class="col-7">
  271. <select id="serial-type" class="form-control form-control-sm">
  272. <option value="">无</option>
  273. <option value="1" selected="selected">1.</option>
  274. <option value="2">a.</option>
  275. <option value="3">A.</option>
  276. </select>
  277. </div>
  278. </div>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. </div>
  286. </div>
  287. </div>
  288. <div class="main-side" style="display: inline-block">
  289. <div class="resize" id="sideResize" style="width: 1%; height: 100%; resize:horizontal; cursor: w-resize; float: left; background: #F1F1F1"></div>
  290. <div class="tab-content" style="width: 99%; height: 100%; float: left">
  291. <!--清单指引-->
  292. <div class="tab-pane" id="zy">
  293. <div class="sidebar-tools-bar container-fluid tools-bar-height-z">
  294. <div class="p-1 row">
  295. <div class="col p-0">
  296. <select class="form-control form-control-sm" id="stdBillsGuidanceLibSelect"></select>
  297. </div>
  298. <div class="col px-1">
  299. <div class="input-group" id="stdBillsGuidanceSearch">
  300. <input type="text" class="form-control form-control-sm" placeholder="输入编码或名称">
  301. <div class="input-group-append">
  302. <button class="btn btn-secondary btn-sm" type="button"><i class="fa fa-search" aria-hidden="true"></i></button>
  303. </div>
  304. </div>
  305. </div>
  306. <div class="col p-0">
  307. <button id="guidanceInsertRation" class="btn btn-primary btn-sm" type="button">插入定额</button>
  308. <button id="guidanceInsertBills" class="btn btn-primary btn-sm" type="button">插入清单</button>
  309. </div>
  310. </div>
  311. <!--搜索结果窗体-->
  312. <div class="side-search-box col-12 p-2" id="billsGuidanceSearchResult" style="display: none;">
  313. <div class="d-flex justify-content-between">
  314. <span id = 'billsGuidanceSearchResultCount'>搜索结果:5</span>
  315. <a class="btn btn-secondary btn-sm" href="javascript:void(0);" id="nextBillsGuidance">查找下一条</a>
  316. <a title="关闭搜索" class="btn btn-link btn-sm" href="javascript:void(0);" id="closeSearchBillsGuidance"><i class="fa fa-remove" aria-hidden="true"></i></a>
  317. </div>
  318. </div>
  319. </div>
  320. <div class="top-content" style="overflow: hidden">
  321. <div class="main-data-side-zb" id="billsGuidance_bills">
  322. </div>
  323. </div>
  324. <div class="resize" id="zyResize" style="background: #F1F1F1"></div>
  325. <div class="bottom-content">
  326. <div class="main-data-side-zi" id="billsGuidance_items"></div>
  327. </div>
  328. <!--<div class="row" style="margin-left: 1px;">
  329. <div id="billsGuidance_bills" class="main-data-side-zb" style="width: 53%; float: left; margin: 0; padding: 0;">
  330. </div>
  331. <div id="billsGuidance_items" class="main-data-side-zi" style="width: 46%; float: left; margin: 0; padding: 0;">
  332. </div>
  333. </div>-->
  334. </div>
  335. <!--清单规则-->
  336. <div class="tab-pane" id="qd">
  337. <div class="tools-bar-height-q container-fluid">
  338. <div class="p-1 row">
  339. <select class="form-control form-control-sm col-6" id="stdBillsLibSelect">
  340. </select>
  341. <div class="input-group col-6" id="stdBillsSearch">
  342. <input type="text" class="form-control form-control-sm" placeholder="输入编码或名称" value="">
  343. <div class="input-group-append">
  344. <button class="btn btn-secondary btn-sm" type="button"><i class="fa fa-search" aria-hidden="true"></i></button>
  345. </div>
  346. </div>
  347. <!-- <div class="input-group col-6" id="stdBillsSearch">
  348. <input type="text" class="form-control form-control-sm" placeholder="输入编码或名称">
  349. <span class="input-group-btn">
  350. <button class="btn btn-secondary btn-sm" type="button"><i class="fa fa-search" aria-hidden="true"></i></button>
  351. </span>
  352. </div>-->
  353. <!--搜索结果窗体-->
  354. <div class="side-search-box col-12 p-2" id="stdBillsSearchResult" style="display: none;">
  355. <div class="d-flex justify-content-between">
  356. <span id = 'stdBillsSearchResultCount'>搜索结果:5</span>
  357. <a class="btn btn-secondary btn-sm" href="javascript:void(0);" id="nextStdBills">查找下一条</a>
  358. <a title="关闭搜索" class="btn btn-link btn-sm" href="javascript:void(0);" id="closeSearchStdBills"><i class="fa fa-remove" aria-hidden="true"></i></a>
  359. </div>
  360. </div>
  361. </div>
  362. </div>
  363. <div class="top-content">
  364. <div class="main-data-side-q" id="stdBillsSpread"></div>
  365. </div>
  366. <div class="resize" id="qdResize" style="background: #F1F1F1"></div>
  367. <div class="bottom-content">
  368. <div class="p-0" id="stdBillsJobTab">
  369. <div class="p-0" style="width: 50%; float: left" id="stdBillsJobs"></div>
  370. <div class="p-0" style="width: 50%; float: left" id="stdBillsFeatures"></div>
  371. </div>
  372. <div class="row" id="stdBillsRemarkTab">
  373. <div class="col-lg-12 p-0">
  374. <textarea class="form-control" id="stdBillsRemark" style="width: 100%; height: 100%" readonly="true"></textarea>
  375. </div>
  376. </div>
  377. </div>
  378. </div>
  379. <!--定额库-->
  380. <div class="tab-pane" id="de">
  381. <div class="tools-bar-height-d container-fluid">
  382. <div class="p-1 row">
  383. <select class="form-control form-control-sm col-6" id="stdRationLibSelect">
  384. </select>
  385. <div class="input-group col-6">
  386. <input type="text" class="form-control form-control-sm" placeholder="搜索定额" value="" id="rationSearchKeyword">
  387. <div class="input-group-append">
  388. <button class="btn btn-secondary btn-sm" type="button" id="rationSearch"><i class="fa fa-search" aria-hidden="true"></i></button>
  389. </div>
  390. </div>
  391. <!--搜索结果窗体-->
  392. <div class="side-search-box col-12 p-0" id="rationSearchResult" style="display: none;">
  393. <div class="d-flex justify-content-between">
  394. <span id="rationSearchCount"></span>
  395. <a title="关闭搜索" class="btn btn-link btn-sm" href="javascript:void(0)"><i class="fa fa-remove" aria-hidden="true"></i></a>
  396. </div>
  397. <div class="w-100 main-data-side-search"></div>
  398. </div>
  399. <!--
  400. html.push('<div class="d-flex justify-content-between">');
  401. html.push('<span>搜索结果:');
  402. html.push(result.length.toString());
  403. html.push('</span>');
  404. html.push('<a title="关闭搜索" class="btn btn-link btn-sm" href="javascript:void(0)"><i class="fa fa-remove" aria-hidden="true"></i></a>');
  405. html.push('</div>');
  406. html.push('<div class="w-100 main-data-side-search">');
  407. html.push('</div>');
  408. return html.join('');
  409. -->
  410. </div>
  411. </div>
  412. <div class="top-content" style="overflow: hidden">
  413. <div class="main-data-side-d" id="stdRationChapter">
  414. </div>
  415. </div>
  416. <div class="resize" id="deResize" style="background: #F1F1F1"></div>
  417. <div class="bottom-content">
  418. <div class="main-data-bottom" id="stdSectionRations"></div>
  419. </div>
  420. </div>
  421. <!--块模板库-->
  422. <div class="tab-pane" id="kmbk">
  423. <div class="tools-bar-height-d container-fluid">
  424. <div class="p-1 row">
  425. <button id="btn_block_collapse" class="btn btn-primary btn-sm" type="button">展开/折叠</button>
  426. <button id="btn_block_newFolder" class="btn btn-primary btn-sm" type="button">新建分类</button>
  427. <button id="btn_block_newSubFolder" class="btn btn-warning btn-sm" type="button">新建子类</button>
  428. </div>
  429. </div>
  430. <div class="top-content" style="overflow: hidden">
  431. <div class="main-data-side-d" id="div_block_tree">
  432. </div>
  433. </div>
  434. <div class="resize" id="kmbkResize" style="background: #F1F1F1"></div>
  435. <div class="bottom-content">
  436. <div class="main-data-bottom" id="div_block_detail">
  437. </div>
  438. </div>
  439. </div>
  440. </div>
  441. </div>
  442. </div>
  443. </div>
  444. </div>
  445. <div class="tab-pane" id="project_glj" role="tabpanel">
  446. <%include ../../glj/html/project_glj.html %>
  447. </div>
  448. <div class="tab-pane" id="reports" role="tabpanel">
  449. <%include ../../report/html/rpt_main.html %>
  450. </div>
  451. <div class="tab-pane" id="fee_rates" role="tabpanel">
  452. <%include ../../fee_rates/fee_rate.html %>
  453. </div>
  454. <div class="tab-pane" id="tender_price" role="tabpanel">
  455. <%include tender_price.html %>
  456. </div>
  457. <div class="tab-pane" id="calc_program_manage" role="tabpanel">
  458. <%include calc_program_manage.html %>
  459. </div>
  460. </div>
  461. </div>
  462. </div>
  463. <!--弹出项目属性-->
  464. <div class="modal fade" id="poj-set" data-backdrop="static">
  465. <div class="modal-dialog modal-lg" role="document">
  466. <div class="modal-content">
  467. <div class="modal-header">
  468. <h5 class="modal-title">项目属性</h5>
  469. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  470. <span aria-hidden="true">&times;</span>
  471. </button>
  472. </div>
  473. <div class="modal-body">
  474. <div class="row">
  475. <div class="col-3">
  476. <ul class="nav flex-column nav-pills" role="tablist">
  477. <li class="nav-item"><a class="nav-link active" data-toggle="pill" href="#poj-settings-basicInfo" role="tab" id="tab_poj-settings-basicInfo">建设项目基本信息</a></li>
  478. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-projFeature" id="tab_poj-settings-projFeature" role="tab">工程特征</a></li>
  479. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-indicativeInfo" id="tab_poj-settings-indicativeInfo" role="tab">指标信息</a></li>
  480. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-4" id="about-calc" role="tab">关于计算</a></li>
  481. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-billsQuanDecimal" id="tab_poj-settings-bqDecimal" role="tab">清单工程量精度</a></li>
  482. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-decimal" role="tab" id="tab_poj-settings-decimal">小数位数</a></li>
  483. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-6" role="tab" id="tab_poj-settings-6">人工单价调整</a></li>
  484. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#display-setting" role="tab" id="tab_display_setting">呈现选项</a></li>
  485. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#system-setting" role="tab" id="tab_system_setting">系统选项</a></li>
  486. </ul>
  487. </div>
  488. <div class="col-9">
  489. <div class="tab-content">
  490. <!--基本信息-->
  491. <div class="tab-pane fade show active" id="poj-settings-basicInfo" role="tabpanel">
  492. <div class="modal-auto-height" style="overflow: hidden;" id="basicInfoSpread">
  493. </div>
  494. </div>
  495. <!--工程特征-->
  496. <div class="tab-pane fade" id="poj-settings-projFeature" role="tabpanel">
  497. <div class="modal-auto-height" style="overflow: hidden" id="projFeatureSpread">
  498. </div>
  499. </div>
  500. <!--指标信息-->
  501. <div class="tab-pane fade" id="poj-settings-indicativeInfo" role="tabpanel">
  502. <div class="modal-auto-height" style="overflow:hidden" id="indicativeInfoSpread">
  503. </div>
  504. </div>
  505. <!--关于计算-->
  506. <div class="tab-pane fade" id="poj-settings-4" role="tabpanel">
  507. <div class="modal-auto-height">
  508. <fieldset class="form-group">
  509. <h5>取费方式</h5>
  510. <div class="form-check">
  511. <label class="form-check-label">
  512. <input class="form-check-input" name="calcFlag" id="rationContent" value="0" type="radio">
  513. 子目含量取费
  514. </label>
  515. </div>
  516. <div class="form-check">
  517. <label class="form-check-label">
  518. <input class="form-check-input" name="calcFlag" id="rationPriceConverse" value="1" type="radio">
  519. 子目单价取费(反算):清单综合合价=清单综合单价*清单工程量
  520. </label>
  521. </div>
  522. <div class="form-check">
  523. <label class="form-check-label">
  524. <input class="form-check-input" name="calcFlag" id="rationPrice" value="2" type="radio">
  525. 子目单价取费(正算):清单综合合价=∑子目综合合价
  526. </label>
  527. </div>
  528. <div class="form-check">
  529. <label class="form-check-label">
  530. <input class="form-check-input" name="calcFlag" id="billsPrice" value="3" type="radio">
  531. 清单单价取费
  532. </label>
  533. </div>
  534. </fieldset>
  535. <fieldset class="form-group">
  536. <h5>暂估合价计算方式</h5>
  537. <div class="form-check">
  538. <label class="form-check-label">
  539. <input class="form-check-input" name="zangu" id="zangu_common" value="0" type="radio">
  540. 暂估合价=暂估单价×定额工程量
  541. </label>
  542. </div>
  543. <div class="form-check">
  544. <label class="form-check-label">
  545. <input class="form-check-input" name="zangu" id="zangu_gatherMaterial" value="1" type="radio">
  546. 暂估合价=∑暂估材料数量×暂估材料单价
  547. </label>
  548. </div>
  549. </fieldset>
  550. <fieldset class="form-group">
  551. <h5>计算选项</h5>
  552. <div class="form-check">
  553. <label class="form-check-label">
  554. <input class="form-check-input" type="checkbox" id="calc_main">
  555. 主材、设备、未计价材料计取价差
  556. </label>
  557. </div>
  558. <div class="form-check">
  559. <label class="form-check-label">
  560. <input class="form-check-input" type="checkbox" id="calc_add">
  561. 新增人材机计取价差
  562. </label>
  563. </div>
  564. <div class="form-check">
  565. <label class="form-check-label">
  566. <input class="form-check-input" type="checkbox" id="calc_est">
  567. 暂估材料计取价差
  568. </label>
  569. </div>
  570. </fieldset>
  571. </div>
  572. </div>
  573. <!--清单工程精度-->
  574. <div class="tab-pane fade" id="poj-settings-billsQuanDecimal" role="tabpanel">
  575. <div class="modal-auto-height" style="overflow: hidden;" id="billsQuanDecimal">
  576. </div>
  577. </div>
  578. <!--小数位数-->
  579. <div class="tab-pane fade" id="poj-settings-decimal" role="tabpanel">
  580. <div class="modal-auto-height">
  581. <fieldset class="form-group">
  582. <h5>清单</h5>
  583. <div class="row m-0">
  584. <div class="col-sm-3">
  585. <div class="input-group input-group-sm mb-2">
  586. <div class="input-group-prepend">
  587. <span class="input-group-text">单价</span>
  588. </div>
  589. <input type="number" name="bills-unitPrice" class="form-control" value="2" step="1" max="6" min="0">
  590. </div>
  591. </div>
  592. <div class="col-sm-3">
  593. <div class="input-group input-group-sm mb-2">
  594. <div class="input-group-prepend">
  595. <span class="input-group-text">合价</span>
  596. </div>
  597. <input type="number" name="bills-totalPrice" class="form-control" value="2" step="1" max="6" min="0">
  598. </div>
  599. </div>
  600. </div>
  601. <h5 class="mt-3">定额</h5>
  602. <div class="row m-0">
  603. <div class="col-sm-3">
  604. <div class="input-group input-group-sm mb-2">
  605. <div class="input-group-prepend">
  606. <span class="input-group-text">工程量</span>
  607. </div>
  608. <input type="number" name="ration-quantity" class="form-control" value="2" step="1" max="6" min="0">
  609. </div>
  610. </div>
  611. <div class="col-sm-3">
  612. <div class="input-group input-group-sm mb-2">
  613. <div class="input-group-prepend">
  614. <span class="input-group-text">单价</span>
  615. </div>
  616. <input type="number" name="ration-unitPrice" class="form-control" value="2" step="1" max="6" min="0">
  617. </div>
  618. </div>
  619. <div class="col-sm-3">
  620. <div class="input-group input-group-sm mb-2">
  621. <div class="input-group-prepend">
  622. <span class="input-group-text">合价</span>
  623. </div>
  624. <input type="number" name="ration-totalPrice" class="form-control" value="2" step="1" max="6" min="0">
  625. </div>
  626. </div>
  627. </div>
  628. <h5 class="mt-3">人材机</h5>
  629. <div class="row m-0">
  630. <div class="col-sm-3">
  631. <div class="input-group input-group-sm mb-2">
  632. <div class="input-group-prepend">
  633. <span class="input-group-text">消耗量</span>
  634. </div>
  635. <input type="number" name="glj-quantity" class="form-control" value="2" step="1" max="6" min="0">
  636. </div>
  637. </div>
  638. <div class="col-sm-4">
  639. <div class="input-group input-group-sm mb-2">
  640. <div class="input-group-prepend">
  641. <span class="input-group-text">单价<small class="text-muted">(有组成物)</small></span>
  642. </div>
  643. <input type="number" name="glj-unitPriceHasMix" class="form-control" value="2" step="1" max="6" min="0">
  644. </div>
  645. </div>
  646. <div class="col-sm-4">
  647. <div class="input-group input-group-sm mb-2">
  648. <div class="input-group-prepend">
  649. <span class="input-group-text">单价<small class="text-muted">(无组成物)</small></span>
  650. </div>
  651. <input type="number" name="glj-unitPrice" class="form-control" value="2" step="1" max="6" min="0">
  652. </div>
  653. </div>
  654. </div>
  655. <h5 class="mt-3">费率</h5>
  656. <div class="row m-0">
  657. <div class="col-sm-3">
  658. <div class="input-group input-group-sm mb-2">
  659. <div class="input-group-prepend">
  660. <span class="input-group-text">费率</span>
  661. </div>
  662. <input type="number" name="feeRate" class="form-control" value="2" step="1" max="6" min="0">
  663. </div>
  664. </div>
  665. </div>
  666. </fieldset>
  667. </div>
  668. </div>
  669. <!--人工单价调整-->
  670. <div class="tab-pane fade" id="poj-settings-6" role="tabpanel">
  671. <div class="row px-3 modal-toolbar">
  672. <select class="col-4 form-control form-control-sm" id="std_labour_coe_files"><option>渝建[2016]71号</option><option>渝建[2017]78号</option></select>
  673. </div>
  674. <div class="modal-auto-height pt-1" style="overflow: hidden" id="labourCoeSpread" ></div>
  675. </div>
  676. <!--呈现选项-->
  677. <div class="tab-pane fade" id="display-setting" role="tabpanel">
  678. <div class="modal-auto-height" style="overflow: hidden">
  679. <fieldset class="form-group">
  680. <!-- <div class="form-check">
  681. <label class="form-check-label">
  682. <input class="form-check-input" id="autoHeight" type="checkbox">
  683. 造价书表格自动调整行高
  684. </label>
  685. </div>-->
  686. <div class="form-check">
  687. <label class="form-check-label">
  688. <input class="form-check-input" id="billsAutoHeight" type="checkbox">
  689. 工程量清单自动调整行高
  690. </label>
  691. </div>
  692. <div class="form-check">
  693. <label class="form-check-label">
  694. <input class="form-check-input" id="rationAutoHeight" type="checkbox">
  695. 定额子目自动调整行高
  696. </label>
  697. </div>
  698. <div class="form-check">
  699. <label class="form-check-label">
  700. <input class="form-check-input" id="disPlayMainMaterial" type="checkbox">
  701. 定额下显示主材、设备
  702. </label>
  703. </div>
  704. </fieldset>
  705. <div id="col_setting_spread" style="height:280px;overflow:hidden">
  706. </div>
  707. <div><a style="margin-left: 5px;" class="btn btn-sm" id="recColSetting" href="javascript:void(0);">恢复默认列设置</a></div>
  708. </div>
  709. </div>
  710. <!--系统选项-->
  711. <div class="tab-pane fade" id="system-setting" role="tabpanel">
  712. <div class="modal-auto-height" style="overflow: hidden">
  713. <fieldset class="form-group">
  714. <div class="form-check">
  715. <label class="form-check-label">
  716. <input class="form-check-input" name="opts-general-radios" id="generalOpts1" value="opt1" type="checkbox">
  717. 自动根据清单工程量填写定额工程量
  718. </label>
  719. </div>
  720. <div class="form-check">
  721. <label class="form-check-label">
  722. <input class="form-check-input" name="opts-general-radios" id="generalOpts2" value="opt2" type="checkbox">
  723. 自动根据定额单位转换定额工程量
  724. </label>
  725. </div>
  726. </fieldset>
  727. <label style="margin-top: 320px">*将影响所有建设项目</label>
  728. </div>
  729. </div>
  730. </div>
  731. </div>
  732. </div>
  733. </div>
  734. <div class="modal-footer">
  735. <a href="javascript:void(0);" class="btn btn-primary" id="property_default" data-dismiss="modal">恢复默认系统设置</a>
  736. <a href="javascript:void(0);" class="btn btn-primary" id="property_ok" data-dismiss="modal">确定</a>
  737. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  738. </div>
  739. </div>
  740. </div>
  741. </div>
  742. <!--弹出选项-->
  743. <div class="modal fade" id="opts-set" data-backdrop="static">
  744. <div class="modal-dialog modal-lg" role="document">
  745. <div class="modal-content">
  746. <div class="modal-header">
  747. <h5 class="modal-title">选项</h5>
  748. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  749. <span aria-hidden="true">&times;</span>
  750. </button>
  751. </div>
  752. <div class="modal-body">
  753. <div class="row">
  754. <div class="col-3">
  755. <ul class="nav flex-column nav-pills" role="tablist">
  756. <li class="nav-item"><a class="nav-link active" data-toggle="pill" href="#opts-general" role="tab">常规选项</a></li>
  757. </ul>
  758. </div>
  759. <div class="col-9">
  760. <div class="tab-content">
  761. <!--常规选项-->
  762. <!--<div class="tab-pane fade show active" id="opts-general" role="tabpanel">
  763. <div class="modal-auto-height">
  764. <fieldset class="form-group">
  765. <div class="form-check">
  766. <label class="form-check-label">
  767. <input class="form-check-input" name="opts-general-radios" id="generalOpts1" value="opt1" type="checkbox">
  768. 自动根据清单工程量填写定额工程量
  769. </label>
  770. </div>
  771. <div class="form-check">
  772. <label class="form-check-label">
  773. <input class="form-check-input" name="opts-general-radios" id="generalOpts2" value="opt2" type="checkbox">
  774. 自动根据定额单位转换定额工程量
  775. </label>
  776. </div>
  777. </fieldset>
  778. </div>
  779. </div>-->
  780. </div>
  781. </div>
  782. </div>
  783. </div>
  784. </div>
  785. </div>
  786. </div>
  787. <!--弹出清单单位选择设置-->
  788. <div class="modal fade" id="std_bills_unit" data-backdrop="static">
  789. <div class="modal-dialog" role="document">
  790. <div class="modal-content">
  791. <div class="modal-header">
  792. <h5 class="modal-title">请选择清单计量单位</h5>
  793. <button type="button" class="close" id='std_bills_unit_close' aria-label="Close">
  794. <span aria-hidden="true">&times;</span>
  795. </button>
  796. </div>
  797. <div class="modal-body modal-auto-height" id="std_bills_unit_spread" style="height: 200px; width: 500px; overflow: hidden;">
  798. </div>
  799. <div class="modal-footer">
  800. <a href="javascript:void(0);" id="std_bills_unit_ok" class="btn btn-primary">确定</a>
  801. <button type="button" class="btn btn-secondary" id='std_bills_unit_cancel'>关闭</button>
  802. </div>
  803. </div>
  804. </div>
  805. </div>
  806. <!--弹出列设置-->
  807. <!-- <div class="modal fade" id="column" data-backdrop="static">
  808. <div class="modal-dialog modal-lg" role="document" style="width: 350px;">
  809. <div class="modal-content">
  810. <div class="modal-header">
  811. <h5 class="modal-title"><i class="fa fa-table"></i> 列设置</h5>
  812. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  813. <span aria-hidden="true">&times;</span>
  814. </button>
  815. </div>
  816. <div class="modal-body modal-auto-height" id="col_setting_spread" style="overflow: hidden;">
  817. </div>
  818. <div class="modal-footer">
  819. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  820. </div>
  821. </div>
  822. </div>
  823. </div>-->
  824. <!--工料机选择窗口-->
  825. <div class="modal fade" id="glj_tree_div" data-backdrop="static">
  826. <div class="modal-dialog modal-lg" role="document" id="modalCon">
  827. <div class="modal-content" style="width: 1020px; left:50%; transform: translate(-50%,0%);">
  828. <div class="modal-header">
  829. <h5 class="modal-title">请选择人材机</h5>
  830. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  831. <span aria-hidden="true">&times;</span>
  832. </button>
  833. <input type="hidden" id="actionType">
  834. </div>
  835. <div class="modal-body" style="padding-left: 0; padding-right: 3px; margin-left: 0;">
  836. <div style="width: 25%; float: left;">
  837. <div class="modal-auto-height" id="componentTreeDiv" style=" height: 415px; overflow: hidden;">
  838. <!--<div class="print-list">-->
  839. <div style="width: 100%; height: 100%; overflow: auto">
  840. <ul id="gljTree" class="ztree"></ul>
  841. </div>
  842. <!--</div>-->
  843. </div>
  844. </div>
  845. <div style="width:75%; padding-left: 3px; float: left;">
  846. <div id="gljRadios">
  847. <div class="row">
  848. <div class="col-7" style="margin-top: 5px;">
  849. <input type="radio" class="glj-radio" name="glj" value="allGljs" checked>所有&nbsp;&nbsp;
  850. <input type="radio" class="glj-radio" name="glj" value="stdGLJ">标准&nbsp;&nbsp;
  851. <input type="radio" class="glj-radio" name="glj" value="complementaryGLJs">补充&nbsp;&nbsp;
  852. </div>
  853. <div class="input-group col-5" style="margin-bottom: 5px;">
  854. <input type="text" class="form-control form-control-sm" placeholder="请输入筛选编码或名称" value="" id="gljSearchKeyword">
  855. <!-- <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>-->
  856. </div>
  857. </div>
  858. <!-- <div class="form-group"><input id="searchGlj" type="text" class="form-control-sm" placeholder="查询工料机"></div>-->
  859. </div>
  860. <div class="modal-auto-height" style="overflow: hidden" id="gljLibSheet">
  861. </div>
  862. </div>
  863. </div>
  864. <div class="modal-footer">
  865. <a href="javascript:void(0);" id="glj_selected_conf" class="btn btn-primary">确定</a>
  866. <button type="button" id="componentsCacnel" class="btn btn-secondary" data-dismiss="modal">取消</button>
  867. </div>
  868. </div>
  869. </div>
  870. </div>
  871. <!--工料机类型选择-->
  872. <div class="modal fade" id="glj_class_div" data-backdrop="static">
  873. <div class="modal-dialog modal-m" role="document" id="class_con">
  874. <div class="modal-content" >
  875. <div class="modal-header">
  876. <h5 class="modal-title">请选择分类</h5>
  877. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  878. <span aria-hidden="true">&times;</span>
  879. </button>
  880. <input type="hidden" name="" id="selected_class">
  881. </div>
  882. <div class="modal-body">
  883. <div class="row">
  884. <div class="col-12">
  885. <div class="modal-auto-height" id="classTreeDiv" style="overflow: hidden">
  886. <!--<div class="print-list">-->
  887. <div style="width: 100%; height: 100%; overflow: auto">
  888. <ul id="classTree" class="ztree"></ul>
  889. </div>
  890. <!--</div>-->
  891. </div>
  892. </div>
  893. </div>
  894. </div>
  895. <div class="modal-footer">
  896. <button type="button" href="javascript:void(0);" id="class_selected_conf" class="btn btn-primary" disabled >确定</button>
  897. <button type="button" id="classCacnel" class="btn btn-secondary" data-dismiss="modal">取消</button>
  898. </div>
  899. </div>
  900. </div>
  901. </div>
  902. <!--费率选择窗口-->
  903. <!--<div class="modal fade" id="fee_rate_tree" data-backdrop="static">
  904. <div class="modal-dialog modal-feeRate" role="document" id="fee_rate_dialog">
  905. <div class="modal-content" >
  906. <div class="modal-header">
  907. <h5 class="modal-title">费率选择</h5>
  908. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  909. <span aria-hidden="true">&times;</span>
  910. </button>
  911. </div>
  912. <div class="modal-body">
  913. <input type="hidden" id="edit_from">
  914. <div class="row">
  915. <div class="modal-auto-height col-12" style="overflow: hidden" id="fee_rate_sheet"></div>
  916. </div>
  917. <div class="modal-footer">
  918. <a href="javascript:void(0);" id="fee_selected_conf" class="btn btn-primary">确定</a>
  919. <button type="button" id="frCacnel" class="btn btn-secondary" data-dismiss="modal">取消</button>
  920. </div>
  921. </div>
  922. </div>
  923. </div>
  924. </div>-->
  925. <!--弹出 清单 计算基数 和 费率(%)-->
  926. <div class="modal fade" id="calcBaseFeeRate" data-backdrop="static">
  927. <div class="modal-dialog" role="document">
  928. <div class="modal-content">
  929. <div class="modal-header">
  930. <h5 class="modal-title">计算基数选择</h5>
  931. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  932. <span aria-hidden="true">&times;</span>
  933. </button>
  934. </div>
  935. <div class="modal-body">
  936. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  937. <span aria-hidden="true">×</span>
  938. </button>
  939. <ul class="nav nav-tabs mb-3" role="tablist">
  940. <li class="nav-item">
  941. <a class="nav-link active px-3" data-toggle="tab" href="#m-js" id="tabCalcBase" role="tab">计算基数</a>
  942. </li>
  943. <li class="nav-item">
  944. <a class="nav-link px-3" data-toggle="tab" href="#m-fl" id="tabFeeRate" role="tab">费率(%)</a>
  945. </li>
  946. </ul>
  947. <div class="tab-content">
  948. <div class="tab-pane active" id="m-js" role="tabpanel">
  949. <div class="form-group" id="expArea">
  950. <input class="form-control" id="calcBaseExp" value="">
  951. <p class="form-text">
  952. <button class="btn btn-secondary btn-sm" id="addOpr">+</button>
  953. <button class="btn btn-secondary btn-sm" id="subOpr">-</button>
  954. <button class="btn btn-secondary btn-sm" id="mulOpr">*</button>
  955. <button class="btn btn-secondary btn-sm" id="divOpr">/</button>
  956. <button class="btn btn-secondary btn-sm" id="leftOpr">(</button>
  957. <button class="btn btn-secondary btn-sm" id="rightOpr">)</button>
  958. <span id="errorInfo" style="margin-left:15px;"></span>
  959. </p>
  960. </div>
  961. <div class="row" id="cbRowDiv">
  962. <div class="col-3" id="cbClassList">
  963. <ul class="list-unstyled">
  964. <li class="py-1">
  965. <a id="cb_ALL" class="btn btn-outline-secondary btn-sm active" href="javascript:void(0)">所有</a>
  966. </li>
  967. <li class="py-1">
  968. <a id="cb_FBFX" href="javascript:void(0);">分部分项</a>
  969. </li>
  970. <li class="py-1">
  971. <a id="cb_CSXM" href="javascript:void(0)">措施项目</a>
  972. </li>
  973. <li class="py-1">
  974. <a id="cb_QTXM" href="javascript:void(0)">其他项目</a>
  975. </li>
  976. <li class="py-1">
  977. <a id="cb_RCJ" href="javascript:void(0)">人材机</a>
  978. </li>
  979. <li class="py-1">
  980. <a id="cb_FBF" href="javascript:void(0)">分包费</a>
  981. </li>
  982. <li class="py-1">
  983. <a id="cb_GF" href="javascript:void(0)">规费</a>
  984. </li>
  985. <li class="py-1">
  986. <a id="cb_SJ" href="javascript:void(0)">税金</a>
  987. </li>
  988. <li class="py-1">
  989. <a id="cb_SQGCZJ" href="javascript:void(0)">税前工程造价</a>
  990. </li>
  991. </ul>
  992. </div>
  993. <div class=" modal-auto-height col-9" style="overflow: hidden; padding: 0; margin: 0;" id="billsBaseSpread">
  994. </div>
  995. </div>
  996. </div>
  997. <div class="tab-pane" id="m-fl" role="tabpanel">
  998. <input type="hidden" id="edit_from">
  999. <!-- <div class="row" style="margin-bottom:0.5rem!important">
  1000. <div class="col-3">
  1001. <div class="form-check form-control feerateInput" style="border:0px;padding-left:1.25rem">
  1002. <label >
  1003. <input class="form-check-input" id="manualFeeRate" type="checkbox">
  1004. 手工输入
  1005. </label>
  1006. </div>
  1007. </div>
  1008. <div class="col-6">
  1009. <input class="form-control feerateInput" id="inputFeeRate" value="">
  1010. </div>
  1011. </div>-->
  1012. <div class="modal-fixed-height" style="overflow: hidden" id="fee_rate_sheet">
  1013. </div>
  1014. </div>
  1015. </div>
  1016. </div>
  1017. <div class="modal-footer">
  1018. <a href="javascript:void(0);" class="btn btn-primary" id="calcBaseFeeRateConf">确定</a>
  1019. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1020. </div>
  1021. </div>
  1022. </div>
  1023. </div>
  1024. <!--弹出 清单 计算基数-->
  1025. <!--<div class="modal fade" id="qd-jsjs" data-backdrop="static">
  1026. <div class="modal-dialog" role="document">
  1027. <div class="modal-content" style="width:670px;">
  1028. <div class="modal-header">
  1029. <h5 class="modal-title">计算基数选择</h5>
  1030. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1031. <span aria-hidden="true">&times;</span>
  1032. </button>
  1033. </div>
  1034. <div class="modal-body">
  1035. <div class="form-group">
  1036. <input class="form-control" id="calcBaseExp" value="">
  1037. <p class="form-text">
  1038. <button class="btn btn-secondary btn-sm" id="addOpr">+</button>
  1039. <button class="btn btn-secondary btn-sm" id="subOpr">-</button>
  1040. <button class="btn btn-secondary btn-sm" id="mulOpr">*</button>
  1041. <button class="btn btn-secondary btn-sm" id="divOpr">/</button>
  1042. <button class="btn btn-secondary btn-sm" id="leftOpr">(</button>
  1043. <button class="btn btn-secondary btn-sm" id="rightOpr">)</button>
  1044. <span id="errorInfo" style="margin-left:15px;"></span>
  1045. </p>
  1046. </div>
  1047. <div class="row" id="cbRowDiv">
  1048. <div class="col-3" id="cbClassList">
  1049. <ul class="list-unstyled">
  1050. <li class="py-1" style="margin-left: 50px;">
  1051. <a id="cb_ALL" class="btn btn-outline-secondary btn-sm active" href="javascript:void(0)">所有</a>
  1052. </li>
  1053. <li class="py-1" style="margin-left: 50px;">
  1054. <a id="cb_FBFX" href="javascript:void(0);">分部分项</a>
  1055. </li>
  1056. <li class="py-1" style="margin-left: 50px;">
  1057. <a id="cb_CSXM" href="javascript:void(0)">措施项目</a>
  1058. </li>
  1059. <li class="py-1" style="margin-left: 50px;">
  1060. <a id="cb_QTXM" href="javascript:void(0)">其他项目</a>
  1061. </li>
  1062. <li class="py-1" style="margin-left: 50px;">
  1063. <a id="cb_RCJ" href="javascript:void(0)">人材机</a>
  1064. </li>
  1065. <li class="py-1" style="margin-left: 50px;">
  1066. <a id="cb_FBF" href="javascript:void(0)">分包费</a>
  1067. </li>
  1068. <li class="py-1" style="margin-left: 50px;">
  1069. <a id="cb_GF" href="javascript:void(0)">规费</a>
  1070. </li>
  1071. <li class="py-1" style="margin-left: 50px;">
  1072. <a id="cb_SJ" href="javascript:void(0)">税金</a>
  1073. </li>
  1074. <li class="py-1" style="margin-left: 50px;">
  1075. <a id="cb_SQGCZJ" href="javascript:void(0)">税前工程造价</a>
  1076. </li>
  1077. </ul>
  1078. </div>
  1079. <div class=" modal-auto-height col-9" style="overflow: hidden" id="billsBaseSpread">
  1080. </div>
  1081. </div>
  1082. </div>
  1083. <div class="modal-footer">
  1084. <a href="javascript:void(0);" class="btn btn-primary" id="calcBaseConf">确定</a>
  1085. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1086. </div>
  1087. </div>
  1088. </div>
  1089. </div>-->
  1090. <!--弹出补充定额库-->
  1091. <div class="modal fade" id="comple-ration" data-backdrop="static">
  1092. <div class="modal-dialog modal-lg" role="document">
  1093. <div class="modal-content">
  1094. <div class="modal-header">
  1095. <h5 class="modal-title">定额库</h5>
  1096. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1097. <span aria-hidden="true">&times;</span>
  1098. </button>
  1099. </div>
  1100. <div class="modal-auto-height">
  1101. <table class="table table-hover table-bordered">
  1102. <thead><tr><th>定额库名称</th></tr></thead>
  1103. <tbody id="comple_ration_table">
  1104. </tbody>
  1105. </table>
  1106. </div>
  1107. </div>
  1108. </div>
  1109. </div>
  1110. <!--弹出 是否删除所选行窗口-->
  1111. <div class="modal fade" id="delete_row" data-backdrop="static">
  1112. <div class="modal-dialog" role="document">
  1113. <div class="modal-content">
  1114. <div class="modal-header">
  1115. <h5 class="modal-title">删除确认</h5>
  1116. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1117. <span aria-hidden="true">&times;</span>
  1118. </button>
  1119. </div>
  1120. <div class="modal-body">
  1121. <div class="form-group">
  1122. <div id="delete_showinfo">
  1123. <label>确认要删除当前选中行吗?</label>
  1124. </div>
  1125. </div>
  1126. </div>
  1127. <div class="modal-footer" style="justify-content: center">
  1128. <button type="button" class="btn btn-primary" data-dismiss="modal" id="deleteY" >是</button>
  1129. <button type="button" class="btn btn-primary" data-dismiss="modal" id="deleteN" style="display: none" >否</button>
  1130. <button type="button" class="btn btn-secondary" data-dismiss="modal" id="deleteCancel">否</button><!--实际是取消-->
  1131. </div>
  1132. </div>
  1133. </div>
  1134. </div>
  1135. <!--弹出 整理分部-->
  1136. <div class="modal fade" id="zlfb" data-backdrop="static">
  1137. <div class="modal-dialog" role="document">
  1138. <div class="modal-content">
  1139. <div class="modal-header">
  1140. <h5 class="modal-title">整理分部</h5>
  1141. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1142. <span aria-hidden="true">&times;</span>
  1143. </button>
  1144. </div>
  1145. <div class="modal-body">
  1146. <div class="form-check">
  1147. <input class="form-check-input zlfb-check" type="checkbox" id="bill_first" >
  1148. <label class="form-check-label">
  1149. 需要专业分部标题
  1150. </label>
  1151. </div>
  1152. <div class="form-check">
  1153. <input class="form-check-input zlfb-check" type="checkbox" checked id="bill_second" >
  1154. <label class="form-check-label">
  1155. 需要章分部标题
  1156. </label>
  1157. </div>
  1158. <div class="form-check">
  1159. <input class="form-check-input zlfb-check" type="checkbox" id="bill_third" >
  1160. <label class="form-check-label">
  1161. 需要节分部标题
  1162. </label>
  1163. </div>
  1164. <div class="form-check">
  1165. <input class="form-check-input zlfb-check" type="checkbox" checked disabled value="" >
  1166. <label class="form-check-label">
  1167. 删除自定义分部标题
  1168. </label>
  1169. </div>
  1170. <div class="form-check">
  1171. <input class="form-check-input zlfb-check" type="checkbox" checked id="bill_resort">
  1172. <label class="form-check-label">
  1173. 清单排序
  1174. </label>
  1175. </div>
  1176. <div class="form-check">
  1177. <input class="form-check-input zlfb-check" type="checkbox" checked id="bill_recode" >
  1178. <label class="form-check-label">
  1179. 清单重新编码
  1180. </label>
  1181. </div>
  1182. <div class="card mt-3">
  1183. <div class="card-body p-2">
  1184. <h5 class="card-title">操作说明</h5>
  1185. <p class="card-text">执行分部整理将对当前清单列表存在的清单按以上勾选项进行整理;</br>
  1186. 勾选“需要专业分部标题”,表示分部整理时需要添加清单专业标题;</br>
  1187. 勾选“需要章分部标题”,表示分部整理时需要添加章标题;</br>
  1188. 勾选“需要节分部标题”,表示分部整理时需要添加节标题;</br>
  1189. 勾选“删除自定义分部标题”,将首先删除已有自定义分部标题,然后再执行分部整理;</br>
  1190. 勾选“清单排序”,表示分部整理后对每个分部下的清单进行排序;</br>
  1191. 勾选“清单重新编码”,表示分部整理后对每个分部下的清单重新生成流水号;
  1192. </p>
  1193. </div>
  1194. </div>
  1195. </div>
  1196. <div class="modal-footer">
  1197. <button type="button" class="btn btn-primary" id="zlfb_confirm">确定</button>
  1198. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1199. </div>
  1200. </div>
  1201. </div>
  1202. </div>
  1203. <!--弹出 计取安装费用-->
  1204. <div class="modal fade" id="calc_installation_fee" data-backdrop="static">
  1205. <div class="modal-dialog modal-lg" style="max-width: 1100px" role="document">
  1206. <div class="modal-content" style="width: 1100px">
  1207. <div class="modal-header">
  1208. <h5 class="modal-title">统一设置计取安装费用</h5>
  1209. <button type="button" class="close" id="calc_installation_fee_close" aria-label="Close">
  1210. <span aria-hidden="true">&times;</span>
  1211. </button>
  1212. </div>
  1213. <div class="modal-body">
  1214. <div class="row" style="height:250px"><!--sjs id设置在这个div-->
  1215. <div class=" col-8" style="overflow: hidden" id="feeItemSheet">
  1216. </div>
  1217. <div class=" col-4" style="overflow: hidden" id="install_setting">
  1218. <div style="height: 100px;" >
  1219. <!--<div class="setting_title">整个项目统一计取</div>-->
  1220. <fieldset class="form-group" style="border:1px solid #b3b3b3;padding: 15px">
  1221. <legend class="legend" >分项费用:</legend>
  1222. <div class="form-check">
  1223. <label class="form-check-label">
  1224. <input class="form-check-input" name="install_setting_radios" id="all_project_calc" value="0" type="radio">
  1225. 整个项目统一计取
  1226. </label>
  1227. </div>
  1228. <div class="form-check">
  1229. <label class="form-check-label">
  1230. <input class="form-check-input" name="install_setting_radios" id="FB_calc" value="1" type="radio">
  1231. 每个分部单独计取
  1232. </label>
  1233. </div>
  1234. </fieldset>
  1235. </div>
  1236. </div>
  1237. </div>
  1238. <br>
  1239. <div class="row" style="height:400px"><!--sjs id设置在这个div-->
  1240. <div class="col-12" style="overflow: hidden" id="feeDetailSheet"></div>
  1241. </div>
  1242. </div>
  1243. <div class="modal-footer">
  1244. <button class="btn btn-primary" id="calc_installation_fee_confirm">确定</button>
  1245. <button type="button" class="btn btn-link" id="btn_reset_to_default">恢复默认值</button>
  1246. <!-- <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>-->
  1247. </div>
  1248. </div>
  1249. </div>
  1250. </div>
  1251. <!--弹出 指定具体位置(计取安装费用)-->
  1252. <div class="modal fade" id="calc_position" data-backdrop="static" style="z-index: 1060">
  1253. <input type="hidden" id ='calc_position_from'>
  1254. <div class="modal-dialog modal-lg" role="document">
  1255. <div class="modal-content">
  1256. <div class="modal-header">
  1257. <h5 class="modal-title">指定具体位置</h5>
  1258. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1259. <span aria-hidden="true">&times;</span>
  1260. </button>
  1261. </div>
  1262. <div class="modal-body">
  1263. <div class="row mb-2">
  1264. <div class="col-8">
  1265. <div class="input-group input-group-sm">
  1266. <input type="text" class="form-control" placeholder="输入编码 或 名称 " id="filterKeyword" aria-describedby="basic-addon2">
  1267. <div class="input-group-append">
  1268. <button class="btn btn-secondary" id="positionSheetFilter" type="button"><i class="fa fa-search"></i> 过滤</button>
  1269. <button class="btn btn-outline-secondary" id="cancelFilter" type="button">取消过滤</button>
  1270. </div>
  1271. </div>
  1272. </div>
  1273. </div>
  1274. <div class="row" style="height:400px"><!--sjs id设置在这个div-->
  1275. <div class="col-12" style="overflow: hidden" id="positionSpread"></div>
  1276. </div>
  1277. </div>
  1278. <div class="modal-footer">
  1279. <button class="btn btn-primary" id="select_position_confirm">确定</button>
  1280. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  1281. </div>
  1282. </div>
  1283. </div>
  1284. </div>
  1285. <!--弹出 查询安装费用-->
  1286. <div class="modal fade" id="more_feeRule" data-backdrop="static">
  1287. <div class="modal-dialog modal-lg" style="max-width: 950px" role="document">
  1288. <div class="modal-content">
  1289. <div class="modal-header">
  1290. <h5 class="modal-title">查询安装费用</h5>
  1291. <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="more_feeRule_close">
  1292. <span aria-hidden="true">&times;</span>
  1293. </button>
  1294. <input type="hidden" id="more_from">
  1295. </div>
  1296. <div class="modal-body">
  1297. <div class="modal-fixed-height" id="moreFeeRuleSpread"><!--sjs ID设置此div--->
  1298. </div>
  1299. </div>
  1300. <div class="modal-footer">
  1301. <button class="btn btn-primary" id="more_feeRule_confirm">确定</button>
  1302. <button type="button" class="btn btn-secondary" id="more_feeRule_concel" data-dismiss="modal">取消</button>
  1303. </div>
  1304. </div>
  1305. </div>
  1306. </div>
  1307. <!--弹出 修改费用规则-->
  1308. <div class="modal fade" id="modify_feeRule" data-backdrop="static">
  1309. <div class="modal-dialog " style="max-width: 950px" role="document">
  1310. <div class="modal-content">
  1311. <div class="modal-header">
  1312. <h5 class="modal-title">修改费用规则</h5>
  1313. <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="modify_feeRule_close">
  1314. <span aria-hidden="true">&times;</span>
  1315. </button>
  1316. </div>
  1317. <div class="modal-body">
  1318. <div style="height: 100px" id="modifyFeeRuleSpread"><!--sjs ID设置此div--->
  1319. </div>
  1320. </div>
  1321. <div class="modal-footer">
  1322. <button class="btn btn-primary" id="modify_feeRule_confirm">确定</button>
  1323. <button type="button" class="btn btn-secondary" id="modify_feeRule_concel" data-dismiss="modal">取消</button>
  1324. </div>
  1325. </div>
  1326. </div>
  1327. </div>
  1328. <!--弹出 导入-->
  1329. <div class="modal fade" id="import" data-backdrop="static">
  1330. <div class="modal-dialog" style="z-index: 800" role="document">
  1331. <div class="modal-content">
  1332. <div class="modal-header">
  1333. <h5 class="modal-title">导入Excel清单</h5>
  1334. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1335. <span aria-hidden="true">&times;</span>
  1336. </button>
  1337. </div>
  1338. <div class="modal-body">
  1339. <div class="custom-file">
  1340. <input type="file" class="custom-file-input" id="customFile" lang="zh" accept=".xls,.xlsx">
  1341. <label class="custom-file-label" for="customFile" style="white-space: nowrap; overflow: hidden;">请选择上传文件</label>
  1342. </div>
  1343. <div class="alert alert-success mt-3" id="uploadAlert" role="alert" style="display: none;">
  1344. 广东XXXX项目清单.xlsx 准备导入上传
  1345. </div>
  1346. <!--<button style="margin-top: 2px;" type="button" class="btn btn-primary" id="uploadExample">示例</button>-->
  1347. <!-- <div id="uploadSheets" style="display: none; border-top: 1px solid #CED4DA;border-left: 1px solid #CED4DA;border-radius: 5px;margin-top: 5px;"></div>-->
  1348. <div id="uploadSheetsHead" style="margin-left: 5px;margin-top: 5px; display: none;" class="input-group form-check"><label class="form-check-label" style="width:270px; overflow: hidden; font-weight: bold">
  1349. 选择工作表...</label><label style="margin-left: 10px; font-weight: bold">导入到...</label>
  1350. </div>
  1351. <div id="uploadSheets"></div>
  1352. </div>
  1353. <div class="modal-footer">
  1354. <button style="margin-right: 245px;" type="button" class="btn btn-primary" id="uploadExample">示例</button>
  1355. <a href="javascript:void(0);" class="btn btn-primary" id="importConfirm">确定导入</a>
  1356. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1357. </div>
  1358. </div>
  1359. </div>
  1360. </div>
  1361. <!--弹出 粘贴位置选择-->
  1362. <div class="modal fade" id="pastePosition" data-backdrop="static">
  1363. <div class="modal-dialog" role="document">
  1364. <div class="modal-content">
  1365. <div class="modal-header">
  1366. <h5 class="modal-title">粘贴位置选择</h5>
  1367. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1368. <span aria-hidden="true">&times;</span>
  1369. </button>
  1370. </div>
  1371. <div class="modal-body">
  1372. <div class="form-group">
  1373. <label >插入为选定节点的:</label>
  1374. <div>
  1375. <div class="form-check form-check-inline">
  1376. <input class="form-check-input" type="radio" name="pastePositionRadio" id="next_node" value="next">
  1377. <label class="form-check-label" for="next_node">后项</label>
  1378. </div>
  1379. <div class="form-check form-check-inline">
  1380. <input class="form-check-input" type="radio" name="pastePositionRadio" id="pre_node" value="pre">
  1381. <label class="form-check-label" for="pre_node">前项</label>
  1382. </div>
  1383. <div class="form-check form-check-inline">
  1384. <input class="form-check-input" type="radio" name="pastePositionRadio" id="sub_node" value="sub">
  1385. <label class="form-check-label" for="sub_node">子项</label>
  1386. </div>
  1387. </div>
  1388. </div>
  1389. </div>
  1390. <div class="modal-footer" style="justify-content: center">
  1391. <button class="btn btn-primary" id="paste_confirm">确定</button>
  1392. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  1393. </div>
  1394. </div>
  1395. </div>
  1396. </div>
  1397. <!--弹出 编辑工程量表达式-->
  1398. <div class="modal fade" id="quantityEXPEdit" data-backdrop="static">
  1399. <div class="modal-dialog" role="document" >
  1400. <div class="modal-content" style="width:500px">
  1401. <div class="modal-header">
  1402. <h5 class="modal-title">编辑工程量表达式</h5>
  1403. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1404. <span aria-hidden="true">&times;</span>
  1405. </button>
  1406. </div>
  1407. <div class="modal-body">
  1408. <div class="form-group">
  1409. <input class="form-control" id="quantityEXPValue" value="">
  1410. <p class="form-text" id = "operation_p">
  1411. <button class="btn btn-secondary btn-sm" >+</button>
  1412. <button class="btn btn-secondary btn-sm" >-</button>
  1413. <button class="btn btn-secondary btn-sm" >*</button>
  1414. <button class="btn btn-secondary btn-sm" >/</button>
  1415. <button class="btn btn-secondary btn-sm" >(</button>
  1416. <button class="btn btn-secondary btn-sm" >)</button>
  1417. </p>
  1418. </div>
  1419. <div class="row" >
  1420. <div class="modal-quantity-edit-height col-12" style="overflow: hidden" id="quantityEditSpread">
  1421. </div>
  1422. </div>
  1423. </div>
  1424. <div class="modal-footer">
  1425. <a href="javascript:void(0);" class="btn btn-primary" id="quantityEditConf">确定</a>
  1426. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1427. </div>
  1428. </div>
  1429. </div>
  1430. </div>
  1431. <img src="/web/dest/css/img/folder_open.png" id="folder_open_pic" style="display: none">
  1432. <img src="/web/dest/css/img/folder_close.png" id="folder_close_pic" style="display: none">
  1433. <img src="/web/dest/css/img/project.png" id="proj_pic" style="display: none">
  1434. <img src="/web/dest/css/img/engineering.png" id="eng_pic" style="display: none">
  1435. <img src="/web/dest/css/img/tender.png" id="tender_pic" style="display: none">
  1436. <img src="/web/dest/css/img/blockLib.png" id="blockLib_pic" style="display: none">
  1437. <img src="/web/dest/css/img/folder_open.png" id="folder_pic" style="display: none">
  1438. <img src="/web/dest/css/img/tender.png" id="block_pic" style="display: none">
  1439. <!-- JS. -->
  1440. <script src = "/lib/spreadjs/sheets/gc.spread.sheets.all.11.1.2.min.js"></script>
  1441. <script src="/lib/spreadjs/sheets/interop/gc.spread.excelio.11.1.2.min.js"></script>
  1442. <script>GC.Spread.Sheets.LicenseKey = '<%- LicenseKey %>';</script>
  1443. <script type="text/javascript" src="/lib/jquery-ui/jquery-ui-datepickerCN.js"></script>
  1444. <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.contextMenu.js"></script>
  1445. <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.ui.position.js"></script>
  1446. <script src="/lib/spreadjs/views/gc.spread.views.dataview.10.0.0.min.js" type="text/javascript"></script>
  1447. <script type="text/javascript" src="/lib/ztree/jquery.ztree.core.js"></script>
  1448. <script type="text/javascript" src="/lib/ztree/jquery.ztree.excheck.js"></script>
  1449. <!--<script src="/lib/spreadjs/views/common/gc.spread.common.10.0.0.min.js" type="text/javascript"></script>-->
  1450. <script src="/lib/spreadjs/views/plugins/gc.spread.views.gridlayout.10.0.0.min.js" type="text/javascript"></script>
  1451. <script src="/lib/js-xlsx/xlsx.core.min.js"></script>
  1452. <script src="/lib/lz-string/lz-string.min.js"></script>
  1453. <!-- inject:js -->
  1454. <!--<script type="text/javascript" src="/test/tmp_data/test_ration_calc/ration_calc_base.js"></script>-->
  1455. <script type="text/javascript" src="/web/building_saas/main/js/models/main_consts.js"></script>
  1456. <script type="text/javascript" src="/public/web/common_util.js"></script>
  1457. <script type="text/javascript" src="/web/building_saas/glj/js/project_glj.js"></script>
  1458. <script type="text/javascript" src="/web/building_saas/glj/js/composition.js"></script>
  1459. <script type="text/javascript" src="/web/building_saas/glj/js/common_spread.js"></script>
  1460. <script type="text/javascript" src="/web/building_saas/glj/js/composition_spread.js"></script>
  1461. <script type="text/javascript" src="/web/building_saas/glj/js/project_glj_spread.js"></script>
  1462. <script src="/web/building_saas/glj/js/socket.io.slim.js"></script>
  1463. <script src="/public/web/socket/connection.js"></script>
  1464. <script src="/public/web/uuid.js"></script>
  1465. <script type="text/javascript" src="/public/web/sheet/sheet_common.js"></script>
  1466. <!--expression calculate-->
  1467. <script src="/lib/JSExpressionEval_src/Date.js"></script>
  1468. <script src="/lib/JSExpressionEval_src/Stack.js"></script>
  1469. <script src="/lib/JSExpressionEval_src/Tokanizer.js"></script>
  1470. <script src="/lib/JSExpressionEval_src/Evaluator.js"></script>
  1471. <!--end expression calculate-->
  1472. <!--<script type="text/javascript" src="/lib/jquery-ui/jquery-ui.min.js"></script>
  1473. <script type="text/javascript" src="/lib/jquery-ui/jquery-ui-datepickerCN.js"></script>
  1474. <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.contextMenu.js"></script>
  1475. <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.ui.position.js"></script>-->
  1476. <!--<script type="text/javascript" src="/lib/lodash/lodash.js"></script>-->
  1477. <!-- Common -->
  1478. <script type="text/javascript" src="/public/web/common_ajax.js"></script>
  1479. <script type="text/javascript" src="/public/web/url_util.js"></script>
  1480. <script type="text/javascript" src="/public/web/number_util.js"></script>
  1481. <script type="text/javascript" src="/public/web/sheet/sheet_common.js"></script>
  1482. <!-- JS. -->
  1483. <!--<script src="/lib/popper/popper.min.js"></script>
  1484. <script src="/lib/bootstrap/bootstrap.min.js"></script>-->
  1485. <script src="/web/building_saas/js/global.js"></script>
  1486. <!--报表 zTree -->
  1487. <!-- SpreadJs -->
  1488. <!--<script src="/lib/spreadjs/views/locale/gc.spread.views.dataview.locale.zh-CN.10.0.0.min.js" type="text/javascript"></script>-->
  1489. <!-- Model -->
  1490. <script type="text/javascript" src="/web/building_saas/main/js/models/project.js"></script>
  1491. <script type="text/javascript" src="/web/building_saas/main/js/models/bills.js"></script>
  1492. <script type="text/javascript" src="/web/building_saas/main/js/models/ration.js"></script>
  1493. <script type="text/javascript" src="/web/building_saas/main/js/models/glj.js"></script>
  1494. <script type="text/javascript" src="/web/building_saas/main/js/models/project_glj.js"></script>
  1495. <script type="text/javascript" src="/web/building_saas/main/js/models/composition.js"></script>
  1496. <script type="text/javascript" src="/web/building_saas/main/js/models/fee_rate.js"></script>
  1497. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_glj.js"></script>
  1498. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_coe.js"></script>
  1499. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_ass.js"></script>
  1500. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_installation.js"></script>
  1501. <!--<script type="text/javascript" src="/web/building_saas/main/js/models/volume_price.js"></script>-->
  1502. <script type="text/javascript" src="/web/building_saas/main/js/models/labour_coe.js"></script>
  1503. <script type="text/javascript" src="/web/building_saas/main/js/models/calc_program.js"></script>
  1504. <script type="text/javascript" src="/web/building_saas/main/js/models/calc_base.js"></script>
  1505. <script type="text/javascript" src="/web/building_saas/main/js/models/installation_fee.js"></script>
  1506. <script type="text/javascript" src="/web/building_saas/main/js/views/calc_program_manage.js"></script>
  1507. <script type="text/javascript" src="/public/web/id_tree.js"></script>
  1508. <script type="text/javascript" src="/web/building_saas/main/js/models/cache_tree.js"></script>
  1509. <script type="text/javascript" src="/web/building_saas/main/js/calc/calc_fees.js"></script>
  1510. <!--<script type="text/javascript" src="/web/building_saas/main/js/calc/ration_calc.js"></script>-->
  1511. <!--<script type="text/javascript" src="/web/building_saas/main/js/calc/bills_calc.js"></script>-->
  1512. <!--<script type="text/javascript" src="/public/calc_util.js"></script>-->
  1513. <!-- Controller -->
  1514. <script type="text/javascript" src="/public/web/tree_sheet/tree_sheet_controller.js"></script>
  1515. <script type="text/javascript" src="/public/web/tree_sheet/tree_sheet_helper.js"></script>
  1516. <script type="text/javascript" src="/public/web/sheet/sheet_data_helper.js"></script>
  1517. <!-- view -->
  1518. <script type="text/javascript" src="/web/building_saas/main/js/views/glj_col.js"></script>
  1519. <script type="text/javascript" src="/web/building_saas/main/js/views/main_tree_col.js"></script>
  1520. <script type="text/javascript" src="/web/building_saas/main/js/views/project_info.js"></script>
  1521. <script type="text/javascript" src="/web/building_saas/main/js/views/project_view.js"></script>
  1522. <script type="text/javascript" src="/web/building_saas/main/js/views/options_view.js"></script>
  1523. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_bills_quantity_decimal.js"></script>
  1524. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_decimal_view.js"></script>
  1525. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_basicInfo.js"></script>
  1526. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_projFeature.js"></script>
  1527. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_indicativeInfo.js"></script>
  1528. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_display_view.js"></script>
  1529. <script type="text/javascript" src="/web/building_saas/main/js/main_ajax.js"></script>
  1530. <script type="text/javascript" src="/web/building_saas/main/js/main.js"></script>
  1531. <script type="text/javascript" src="/web/building_saas/main/js/controllers/project_controller.js"></script>
  1532. <script type="text/javascript" src="/web/building_saas/main/js/controllers/block_controller.js"></script>
  1533. <script type="text/javascript" src="/web/building_saas/main/js/controllers/material_controller.js"></script>
  1534. <script type="text/javascript" src="/web/building_saas/main/js/views/side_tools.js"></script>
  1535. <script type="text/javascript" src="/web/building_saas/main/js/views/std_billsGuidance_lib.js"></script>
  1536. <script type="text/javascript" src="/web/building_saas/main/js/views/std_bills_lib.js"></script>
  1537. <script type="text/javascript" src="/web/building_saas/main/js/views/std_ration_lib.js"></script>
  1538. <script type="text/javascript" src="/web/building_saas/main/js/views/block_lib.js"></script>
  1539. <script type="text/javascript" src="/web/building_saas/main/js/models/quantity_detail.js"></script>
  1540. <script type="text/javascript" src="/web/building_saas/main/js/views/glj_view_contextMenu.js"></script>
  1541. <script type="text/javascript" src="/web/building_saas/main/js/views/calc_program_view.js"></script>
  1542. <script type="text/javascript" src='/web/building_saas/main/js/views/confirm_modal.js'></script>
  1543. <script type="text/javascript" src='/web/building_saas/main/js/views/zlfb_view.js'></script>
  1544. <script type="text/javascript" src='/web/building_saas/main/js/views/installation_fee_view.js'></script>
  1545. <script type="text/javascript" src='/web/building_saas/main/js/views/project_glj_view.js'></script>
  1546. <script type="text/javascript" src="/web/building_saas/main/js/views/importBills.js"></script>
  1547. <!--报表-->
  1548. <script type="text/javascript" src="/public/web/rpt_tpl_def.js"></script>
  1549. <script type="text/javascript" src="/public/web/treeDataHelper.js"></script>
  1550. <script type="text/javascript" src="/public/web/string_util_light.js"></script>
  1551. <script type="text/javascript" src="/public/web/ztree_common.js"></script>
  1552. <script type="text/javascript" src="/web/building_saas/report/js/rpt_main.js"></script>
  1553. <script type="text/javascript" src="/web/building_saas/report/js/rpt_cfg_const.js"></script>
  1554. <script type="text/javascript" src="/web/building_saas/report/js/jpc_output_value_define.js"></script>
  1555. <script type="text/javascript" src="/web/building_saas/report/js/jpc_output.js"></script>
  1556. <script type="text/javascript" src="/web/building_saas/report/js/rpt_print.js"></script>
  1557. <script type="text/javascript" src="/web/building_saas/main/js/views/character_content_view.js"></script>
  1558. <script type="text/javascript" src="/web/building_saas/main/js/views/glj_view.js"></script>
  1559. <script type="text/javascript" src="/web/building_saas/main/js/views/zmhs_view.js"></script>
  1560. <script type="text/javascript" src="/web/building_saas/main/js/views/tender_price_view.js"></script>
  1561. <script type="text/javascript" src="/web/building_saas/main/js/views/sub_view.js"></script>
  1562. <script type="text/javascript" src="/web/building_saas/main/js/views/fee_rate_view.js"></script>
  1563. <script type="text/javascript" src="/web/building_saas/main/js/views/quantity_edit_view.js"></script>
  1564. <script type="text/javascript" src="/web/building_saas/main/js/views/sub_fee_rate_views.js"></script>
  1565. <script type="text/javascript" src="/web/building_saas/main/js/views/calc_base_view.js"></script>
  1566. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_labour_coe_view.js"></script>
  1567. <script type="text/javascript" src="/web/building_saas/complementary_ration_lib/js/main.js"></script>
  1568. <script type="text/javascript" src="/public/web/storageUtil.js"></script>
  1569. <!-- endinject -->
  1570. <% if (overWriteUrl != undefined) { %>
  1571. <script type="text/javascript" src="<%= overWriteUrl%>"></script>
  1572. <% } %>
  1573. <script type="text/javascript">
  1574. projectGljObject.initFilterTypeList();
  1575. optionsOprObj.getOptions();
  1576. projectInfoObj.showProjectInfo();
  1577. projectObj.checkMainSpread();
  1578. projectObj.loadProjectData();
  1579. // autoFlashHeight();
  1580. </script>
  1581. <SCRIPT type="text/javascript">
  1582. let clearFlag = false;
  1583. function onCheck(e, treeId, treeNode) {
  1584. count();
  1585. if (clearFlag) {
  1586. clearCheckedOldNodes();
  1587. }
  1588. }
  1589. function clearCheckedOldNodes() {
  1590. let zTree = $.fn.zTree.getZTreeObj("treeDemo"),
  1591. nodes = zTree.getChangeCheckedNodes();
  1592. for (let i=0, l=nodes.length; i<l; i++) {
  1593. nodes[i].checkedOld = nodes[i].checked;
  1594. }
  1595. }
  1596. function count() {
  1597. let zTree = $.fn.zTree.getZTreeObj("treeDemo"),
  1598. checkCount = zTree.getCheckedNodes(true).length;
  1599. $("#checkCount").text(checkCount);
  1600. }
  1601. /*$(document).ready(function(){
  1602. document.addEventListener('visibilitychange', function() {
  1603. if(document.hidden){ //页面不可见状态
  1604. document.title = '你离开了';
  1605. }else{ //页面可见状态
  1606. document.title = '你回来了';
  1607. }
  1608. });
  1609. //
  1610. });*/
  1611. </SCRIPT>
  1612. <div id="dropdown" style="z-index: 9999; position: fixed ! important;background: white;display:none"> <!--;left:170px;top:790px -->
  1613. <!--<form><table border='1px' bordercolor='#CCCCCC' cellspacing='0px' style='border-collapse:collapse;font-size: 10px;><tr style='height:10px'><td style='width: 50px'>定额:</td><td style='width: 70px' align='right'><input type='text'value='1' name=0 style='width:30px;border:0;height:14px' align='right' id=coe_ration onchange='gljOprObj.onInputChange(this.id,this.name)'></td></tr><tr style='height:10px'><td style='width: 50px'>人工:</td><td style='width: 70px' align='right'><input type='text'value='1' name=1 style='width:30px;border:0;height:14px' align='right' id=manual onchange='gljOprObj.onInputChange(this.id,this.name)'></td></tr><tr style='height:10px'><td style='width: 50px'>材料:</td><td style='width: 70px' align='right'><input type='text'value='1' name=2 style='width:30px;border:0;height:14px' align='right' id=material onchange='gljOprObj.onInputChange(this.id,this.name)'></td></tr><tr style='height:10px'><td style='width: 50px'>机械:</td><td style='width: 70px' align='right'><input type='text'value='1' name=3 style='width:30px;border:0;height:14px' align='right' id=manchine onchange='gljOprObj.onInputChange(this.id,this.name)'></td></tr><tr style='height:10px'><td style='width: 50px'>主材:</td><td style='width: 70px' align='right'><input type='text'value='1' name=4 style='width:30px;border:0;height:14px' align='right' id=main onchange='gljOprObj.onInputChange(this.id,this.name)'></td></tr><tr style='height:10px'><td style='width: 50px'>设备:</td><td style='width: 70px' align='right'><input type='text'value='1' name=5 style='width:30px;border:0;height:14px' align='right' id=equipment onchange='gljOprObj.onInputChange(this.id,this.name)'></td></tr></table></form>-->
  1614. </div>
  1615. </body>
  1616. </html>