main.html 139 KB

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