main.html 92 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352
  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/bootstrap/css/bootstrap.min.css">
  10. <link rel="stylesheet" href="/web/building_saas/css/main.css">
  11. <link rel="stylesheet" href="/web/building_saas/css/custom.css">
  12. <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
  13. <!--zTree-->
  14. <link rel="stylesheet" href="/lib/ztree/css/zTreeStyle.css" type="text/css">
  15. <!--SpreadJs-->
  16. <link rel="stylesheet" href="/lib/jquery-ui/jquery-ui.css" type="text/css">
  17. <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css" type="text/css">
  18. <link rel="stylesheet" href="/lib/spreadjs/views/gc.spread.views.dataview.10.0.0.css">
  19. <!-- jquery.contextmenu -->
  20. <link rel="stylesheet" href="/lib/jquery-contextmenu/jquery.contextMenu.css" type="text/css">
  21. <!-- endinject -->
  22. <script>
  23. // 这里的变量供页面调用
  24. let lockBills = '<%- projectData.property.lockBills %>';
  25. let userAccount = '<%- userAccount %>';
  26. let userID = '<%- userID %>';
  27. </script>
  28. </head>
  29. <body>
  30. <div class="header">
  31. <div class="top-msg clearfix">
  32. <div class="alert alert-warning mb-0 py-0" role="alert" id="notify" style="display: none">
  33. <button type="button" class="close" aria-label="Close" onclick="$('#notify').hide();">
  34. <span aria-hidden="true">&times;</span>
  35. </button>
  36. <strong id="message"></strong>
  37. </div>
  38. </div>
  39. <%include ../../../common/html/header.html %>
  40. </div>
  41. <div class="main">
  42. <div class="main-nav">
  43. <ul class="nav nav-tabs flex-column" role="tablist">
  44. <li class="nav-item"><a class="active" data-toggle="tab" href="#zaojiashu" id="tab_zaojiashu" role="tab">造价书</a></li>
  45. <li class="nav-item"><a data-toggle="tab" href="#project_glj" id="tab_project_glj" data-name="tab_project_glj" role="tab">人材机</a></li>
  46. <li class="nav-item"><a data-toggle="tab" href="#fee_rates" id="tab_fee_rate" role="tab" >费率</a></li>
  47. <li class="nav-item"><a data-toggle="tab" href="#calc_program_manage" id="tab_calc_program_manage" role="tab">计算程序</a></li>
  48. <li class="nav-item"><a data-toggle="tab" href="#tender_price" id="tab_tender_price" role="tab">调价</a></li>
  49. <li class="nav-item"><a data-toggle="tab" href="#reports" role="tab" id="tab_report" onclick="rptTplObj.iniPage();">报表</a></li>
  50. </ul>
  51. </div>
  52. <div class="content">
  53. <div class="tab-content">
  54. <div class="tab-pane active" id="zaojiashu" role="tabpanel">
  55. <!--造价书-->
  56. <div class="toolsbar px-1 d-flex justify-content-between">
  57. <div class="tools-btn btn-group align-top">
  58. <!--<a href="javascript:void(0)" class="btn btn-sm" title="复制" ><i class="fa fa-files-o" aria-hidden="true"></i></a>
  59. <a href="javascript:void(0)" class="btn btn-sm" title="剪切"><i class="fa fa-scissors" aria-hidden="true"></i></a>
  60. <a href="javascript:void(0)" class="btn btn-sm" title="粘贴"><i class="fa fa-clipboard" aria-hidden="true"></i></a>-->
  61. <!-- <a href="javascript:void(0)" class="btn btn-sm" id="insert" title="插入"><i class="fa fa-sign-in" aria-hidden="true"></i></a>-->
  62. <a href="javascript:void(0)" class="btn btn-sm" id="delete" title="删除"><i class="fa fa-remove" aria-hidden="true"></i></a>
  63. <a href="javascript:void(0)" class="btn btn-sm" id="upLevel" title="升级"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>
  64. <a href="javascript:void(0)" class="btn btn-sm" id="downLevel" title="降级"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>
  65. <a href="javascript:void(0)" class="btn btn-sm" id="downMove" title="下移"><i class="fa fa-arrow-down" aria-hidden="true"></i></a>
  66. <a href="javascript:void(0)" class="btn btn-sm" id="upMove" title="上移"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
  67. <span>
  68. <a href="" data-toggle="dropdown"><span data-toggle="tooltip" data-placement="bottom" title="显示至...">显示至...</span></a>
  69. <div class="dropdown-menu dropdown-menu-left" style="min-width: 6.5rem">
  70. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayDXFY">大项费用</a>
  71. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayFB1">一级分部</a>
  72. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayFB2">二级分部</a>
  73. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayFB3">三级分部</a>
  74. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayFB4">四级分部</a>
  75. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayFX">分项</a>
  76. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayZM">子目</a>
  77. <a class="dropdown-item" href="javascript:void(0);" style="padding: 0rem 1.5rem" id="displayZD">最底层</a>
  78. </div>
  79. <a href="javascript:void(0)" class="btn btn-sm" id = 'ZLFB_btn'><i class="fa fa-sign-in " aria-hidden="true"></i><span data-toggle="tooltip" data-placement="bottom" title="整理分部"> 整理分部</span></a>
  80. </span>
  81. <% if (projectData.property.lockBills == true) { %>
  82. <a href="javascript:void(0)" class="btn btn-sm" name="lockBills" title="解锁清单"> <i class="fa fa-unlock-alt" aria-hidden="true"></i> 解锁清单</a>
  83. <% } else { %>
  84. <a href="javascript:void(0)" class="btn btn-sm" name="lockBills" title="锁定清单"> <i class="fa fa-lock" aria-hidden="true"></i> 锁定清单</a>
  85. <% } %>
  86. </div>
  87. <div class="tools-btn">
  88. <a href="javacript:void(0);" data-toggle="modal" data-target="#column" class="btn btn-sm"><i class="fa fa-table" aria-hidden="true"></i> 列设置</a>
  89. </div>
  90. <div class="side-tabs">
  91. <ul class="nav nav-tabs" role="tablist">
  92. <li class="nav-item">
  93. <a class="nav-link px-3" href="javascript:void(0)" id = 'stdBillsTab' relaPanel="#qd">清单规则</a>
  94. </li>
  95. <li class="nav-item">
  96. <a class="nav-link px-3" href="javascript:void(0)" id="stdRationTab" relaPanel="#de">定额库</a>
  97. </li>
  98. </ul>
  99. </div>
  100. </div>
  101. <div class="container-fluid">
  102. <div class="row">
  103. <!--col-lg-12 p-0-->
  104. <div class="main-content" style="width: 100%; display: inline-block" id="main">
  105. <div class="top-content">
  106. <div class="main-data-top" id="billsSpread"></div>
  107. </div>
  108. <div class="resize"></div>
  109. <div class="bottom-content">
  110. <ul class="nav nav-tabs" role="tablist">
  111. <li class="nav-item">
  112. <a class="nav-link active" id="linkGLJ" data-toggle="tab" href="#subSpread" role="tab">人材机</a>
  113. </li>
  114. <!-- <li class="nav-item">
  115. <a class="nav-link" id="linkFZTJ" data-toggle="tab" href="#subSpread" role="tab">附注条件</a>
  116. </li>
  117. <li class="nav-item">
  118. <a class="nav-link" id="linkFZDE" data-toggle="tab" href="#subSpread" role="tab">辅助定额</a>
  119. </li>-->
  120. <li class="nav-item">
  121. <a class="nav-link" id="linkZMHS" data-toggle="tab" href="#subSpread" role="tab">子目换算</a>
  122. </li>
  123. <li class="nav-item" id="AZZJF_div" style="display: none">
  124. <a class="nav-link" id="linkAZZJF" data-toggle="tab" href="#subSpread" role="tab">安装增加费</a>
  125. </li>
  126. <li class="nav-item">
  127. <a class="nav-link" id="linkGCLMX" data-toggle="tab" href="#subSpread" role="tab">工程量明细</a>
  128. </li>
  129. <li class="nav-item">
  130. <a class="nav-link" id="linkJSCX" data-toggle="tab" href="#subSpread" role="tab">计算程序</a>
  131. </li>
  132. <li class="nav-item">
  133. <a class="nav-link" data-toggle="tab" href="#comments" role="tab" id="linkComments">说明信息</a>
  134. </li>
  135. <li class="nav-item">
  136. <a class="nav-link" id="linkTZJNR" data-toggle="tab" href="#subSpread" role="tab">特征及内容</a>
  137. </li>
  138. </ul>
  139. <!-- Tab panes -->
  140. <div class="tab-content" id="tabCon">
  141. <div class="tab-pane active" id="subItems" role="tabpanel">
  142. <div class="main-data-bottom ovf-hidden" id="subSpread" style="display: none">
  143. </div>
  144. <div class="main-data-bottom ovf-hidden" id="tabZMHS" style="display: none">
  145. <div class=" main-data-bottom ovf-hidden" style="width: 50%; float: left; margin: 0; padding:0;" id="coeSpread"></div>
  146. <div class=" main-data-bottom ovf-hidden" style="width: 50%; float: left; margin: 0; padding:0;" id="assSpread"></div>
  147. </div>
  148. <div class="main-data-bottom ovf-hidden" style="display: none" id="comments">
  149. <textarea class="form-control" rows="8" readonly=""></textarea>
  150. </div>
  151. <div id="tzjnrCon" class="main-data-bottom" style="background: #F1F1F1">
  152. <div class="col-4" style="width: 33%; float: left; margin: 0; padding:0;">
  153. <div class="main-data-bottom ovf-hidden" id="jobSpread">
  154. </div>
  155. <!--工具栏-->
  156. <div class="bottom-tools btn-group position-absolute">
  157. <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>
  158. <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>
  159. <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>
  160. <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>
  161. <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>
  162. </div>
  163. </div>
  164. <div class="col-4" style="width: 33%; float: left; margin: 0; padding:0;">
  165. <div class="main-data-bottom ovf-hidden" id="itemSpread">
  166. </div>
  167. <!--工具栏-->
  168. <div class="bottom-tools btn-group position-absolute">
  169. <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>
  170. <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>
  171. <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>
  172. <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>
  173. <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>
  174. </div>
  175. </div>
  176. <div id="add-rule" style="width: 34%;float: left;background: #EFEFEF; height: 100%;display: none; padding-left: 8px;">
  177. <p style="text-align: center">添加规则</p>
  178. <p>
  179. <label class="title">添加位置:</label>
  180. <select id="add-position">
  181. <option value="1" selected="selected">添加到项目特征列</option>
  182. <option value="2">添加到清单名称列</option>
  183. <option value="3">添加到工作内容列</option>
  184. <option value="4">分别添加到对应列</option>
  185. </select>
  186. </p>
  187. <p>
  188. <label class="title">添加内容:</label>
  189. <select id="add-content">
  190. <option value="">无</option>
  191. <option value="1" selected="selected">项目特征+工作内容</option>
  192. <option value="2">工作内容+项目特征</option>
  193. <option value="3">项目特征</option>
  194. <option value="4">工作内容</option>
  195. <option value="5">定额子目</option>
  196. </select>
  197. </p>
  198. <p>
  199. <label class="title">显示格式:</label>
  200. <select id="display-format">
  201. <option value="1" selected="selected">换行分隔</option>
  202. <option value="2">逗号分隔</option>
  203. <option value="3">括号分隔</option>
  204. </select>
  205. </p>
  206. <p>
  207. <label class="title">特征生成方式:</label>
  208. <select id="character-format">
  209. <option value="1">特征值</option>
  210. <option value="2" selected="selected">特征:特征值</option>
  211. </select>
  212. </p>
  213. <p>
  214. <label class="title">子目生成方式:</label>
  215. <select id="child-display-format" disabled="disabled">
  216. <option value="1" selected="selected">编号+定额名称</option>
  217. <option value="2">序号+定额名称</option>
  218. </select>
  219. </p>
  220. <p>
  221. <label class="title">序号格式:</label>
  222. <select id="serial-type">
  223. <option value="">无</option>
  224. <option value="1" selected="selected">1.</option>
  225. <option value="2">a.</option>
  226. <option value="3">A.</option>
  227. </select>
  228. </p>
  229. <p style="text-align: center">
  230. <% if (projectData.property.lockBills == true) { %>
  231. <button class="btn btn-primary btn-sm disabled" type="button" id="use-to-current">应用到选中清单</button>
  232. <button class="btn btn-primary btn-sm disabled" type="button" id="use-to-all">应用到所有清单</button>
  233. <% } else { %>
  234. <button class="btn btn-primary btn-sm" type="button" id="use-to-current">应用到选中清单</button>
  235. <button class="btn btn-primary btn-sm" type="button" id="use-to-all">应用到所有清单</button>
  236. <% } %>
  237. <!--<button class="btn btn-primary btn-sm" type="button" id="use-to-current">应用到选中清单</button>
  238. <button class="btn btn-primary btn-sm" type="button" id="use-to-all">应用到所有清单</button>-->
  239. </p>
  240. </div>
  241. </div>
  242. </div>
  243. </div>
  244. </div>
  245. </div>
  246. <div class="main-side" style="display: inline-block">
  247. <div class="resize" id="sideResize" style="width: 1%; height: 100%; resize:horizontal; cursor: w-resize; float: left; background: #F1F1F1"></div>
  248. <div class="tab-content" style="width: 99%; height: 100%; float: left">
  249. <!--清单规则-->
  250. <div class="tab-pane" id="qd">
  251. <div class="tools-bar-height-q container-fluid">
  252. <div class="p-1 row">
  253. <select class="form-control form-control-sm col-6" id="stdBillsLibSelect">
  254. </select>
  255. <div class="input-group col-6" id="stdBillsSearch">
  256. <input type="text" class="form-control form-control-sm" placeholder="搜索清单">
  257. <span class="input-group-btn">
  258. <button class="btn btn-secondary btn-sm" type="button"><i class="fa fa-search" aria-hidden="true"></i></button>
  259. </span>
  260. </div>
  261. <!--搜索结果窗体-->
  262. <div class="side-search-box col-12 p-2" id="stdBillsSearchResult" style="display: none;">
  263. <div class="d-flex justify-content-between">
  264. <span id = 'stdBillsSearchResultCount'>搜索结果:5</span>
  265. <a class="btn btn-secondary btn-sm" href="javascript:void(0);" id="nextStdBills">查找下一条</a>
  266. <a title="关闭搜索" class="btn btn-link btn-sm" href="javascript:void(0);" id="closeSearchStdBills"><i class="fa fa-remove" aria-hidden="true"></i></a>
  267. </div>
  268. </div>
  269. </div>
  270. </div>
  271. <div class="top-content">
  272. <div class="main-data-side-q" id="stdBillsSpread"></div>
  273. </div>
  274. <div class="resize" id="qdResize" style="background: #F1F1F1"></div>
  275. <div class="bottom-content">
  276. <div class="row" id="stdBillsJobTab">
  277. <div class="col-lg-6 p-0" id="stdBillsJobs"></div>
  278. <div class="col-lg-6 p-0" id="stdBillsFeatures"></div>
  279. </div>
  280. <div class="row" id="stdBillsRemarkTab">
  281. <div class="col-lg-12 p-0">
  282. <textarea class="form-control" id="stdBillsRemark" style="width: 100%; height: 100%" readonly="true"></textarea>
  283. </div>
  284. </div>
  285. </div>
  286. </div>
  287. <!--定额库-->
  288. <div class="tab-pane" id="de">
  289. <div class="tools-bar-height-d container-fluid">
  290. <div class="p-1 row">
  291. <select class="form-control form-control-sm col-6" id="stdRationLibSelect">
  292. </select>
  293. <div class="input-group col-6">
  294. <input type="text" class="form-control form-control-sm" placeholder="搜索定额" value="" id="rationSearchKeyword">
  295. <span class="input-group-btn">
  296. <button class="btn btn-secondary btn-sm" type="button" id="rationSearch"><i class="fa fa-search" aria-hidden="true"></i></button>
  297. </span>
  298. </div>
  299. <!--搜索结果窗体-->
  300. <div class="side-search-box col-12 p-0" id="rationSearchResult" style="display: none;">
  301. </div>
  302. </div>
  303. </div>
  304. <div class="top-content" style="overflow: hidden">
  305. <div class="main-data-side-d" id="stdRationChapter">
  306. </div>
  307. </div>
  308. <div class="resize" id="deResize" style="background: #F1F1F1"></div>
  309. <div class="bottom-content">
  310. <div class="main-data-bottom" id="stdSectionRations"></div>
  311. </div>
  312. </div>
  313. </div>
  314. </div>
  315. </div>
  316. </div>
  317. </div>
  318. <div class="tab-pane" id="project_glj" role="tabpanel">
  319. <%include ../../glj/html/project_glj.html %>
  320. </div>
  321. <div class="tab-pane" id="reports" role="tabpanel">
  322. <%include ../../report/html/rpt_main.html %>
  323. </div>
  324. <div class="tab-pane" id="fee_rates" role="tabpanel">
  325. <%include ../../fee_rates/fee_rate.html %>
  326. </div>
  327. <div class="tab-pane" id="tender_price" role="tabpanel">
  328. <%include tender_price.html %>
  329. </div>
  330. <div class="tab-pane" id="calc_program_manage" role="tabpanel">
  331. <%include calc_program_manage.html %>
  332. </div>
  333. </div>
  334. </div>
  335. </div>
  336. <!--弹出项目属性-->
  337. <div class="modal fade" id="poj-set" data-backdrop="static">
  338. <div class="modal-dialog modal-lg" role="document">
  339. <div class="modal-content">
  340. <div class="modal-header">
  341. <h5 class="modal-title">项目属性</h5>
  342. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  343. <span aria-hidden="true">&times;</span>
  344. </button>
  345. </div>
  346. <div class="modal-body">
  347. <div class="row">
  348. <div class="col-3">
  349. <ul class="nav flex-column nav-pills" role="tablist">
  350. <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>
  351. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-projFeature" id="tab_poj-settings-projFeature" role="tab">工程特征</a></li>
  352. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-indicativeInfo" id="tab_poj-settings-indicativeInfo" role="tab">指标信息</a></li>
  353. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-4" id="about-calc" role="tab">关于计算</a></li>
  354. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-billsQuanDecimal" id="tab_poj-settings-bqDecimal" role="tab">清单工程量精度</a></li>
  355. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-decimal" role="tab" id="tab_poj-settings-decimal">小数位数</a></li>
  356. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#poj-settings-6" role="tab" id="tab_poj-settings-6">人工单价调整</a></li>
  357. <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#display-setting" role="tab" id="tab_display_setting">呈现选项</a></li>
  358. </ul>
  359. </div>
  360. <div class="col-9">
  361. <div class="tab-content">
  362. <!--基本信息-->
  363. <div class="tab-pane fade show active" id="poj-settings-basicInfo" role="tabpanel">
  364. <div class="modal-auto-height" style="overflow: hidden;" id="basicInfoSpread">
  365. </div>
  366. </div>
  367. <!--工程特征-->
  368. <div class="tab-pane fade" id="poj-settings-projFeature" role="tabpanel">
  369. <div class="modal-auto-height" style="overflow: hidden" id="projFeatureSpread">
  370. </div>
  371. </div>
  372. <!--指标信息-->
  373. <div class="tab-pane fade" id="poj-settings-indicativeInfo" role="tabpanel">
  374. <div class="modal-auto-height" style="overflow:hidden" id="indicativeInfoSpread">
  375. </div>
  376. </div>
  377. <!--关于计算-->
  378. <div class="tab-pane fade" id="poj-settings-4" role="tabpanel">
  379. <div class="modal-auto-height">
  380. <fieldset class="form-group">
  381. <h5>取费方式</h5>
  382. <div class="form-check">
  383. <label class="form-check-label">
  384. <input class="form-check-input" name="calcFlag" id="rationContent" value="0" type="radio">
  385. 子目含量取费
  386. </label>
  387. </div>
  388. <div class="form-check">
  389. <label class="form-check-label">
  390. <input class="form-check-input" name="calcFlag" id="rationPriceConverse" value="1" type="radio">
  391. 子目单价取费(反算):清单综合合价=清单综合单价*清单工程量
  392. </label>
  393. </div>
  394. <div class="form-check">
  395. <label class="form-check-label">
  396. <input class="form-check-input" name="calcFlag" id="rationPrice" value="2" type="radio">
  397. 子目单价取费(正算):清单综合合价=∑子目综合合价
  398. </label>
  399. </div>
  400. <div class="form-check">
  401. <label class="form-check-label">
  402. <input class="form-check-input" name="calcFlag" id="billsPrice" value="3" type="radio">
  403. 清单单价取费
  404. </label>
  405. </div>
  406. </fieldset>
  407. <fieldset class="form-group">
  408. <h5>暂估合价计算方式</h5>
  409. <div class="form-check">
  410. <label class="form-check-label">
  411. <input class="form-check-input" name="zangu" id="zangu_common" value="0" type="radio">
  412. 暂估合价=暂估单价×定额工程量
  413. </label>
  414. </div>
  415. <div class="form-check">
  416. <label class="form-check-label">
  417. <input class="form-check-input" name="zangu" id="zangu_gatherMaterial" value="1" type="radio">
  418. 暂估合价=∑暂估材料数量×暂估材料单价
  419. </label>
  420. </div>
  421. </fieldset>
  422. <fieldset class="form-group">
  423. <h5>计算选项</h5>
  424. <div class="form-check">
  425. <label class="form-check-label">
  426. <input class="form-check-input" type="checkbox" id="calc_main">
  427. 主材、设备、未计价材料计取价差
  428. </label>
  429. </div>
  430. <div class="form-check">
  431. <label class="form-check-label">
  432. <input class="form-check-input" type="checkbox" id="calc_add">
  433. 新增人材机计取价差
  434. </label>
  435. </div>
  436. <div class="form-check">
  437. <label class="form-check-label">
  438. <input class="form-check-input" type="checkbox" id="calc_est">
  439. 暂估材料计取价差
  440. </label>
  441. </div>
  442. </fieldset>
  443. </div>
  444. </div>
  445. <!--清单工程精度-->
  446. <div class="tab-pane fade" id="poj-settings-billsQuanDecimal" role="tabpanel">
  447. <div class="modal-auto-height" style="overflow: hidden;" id="billsQuanDecimal">
  448. </div>
  449. </div>
  450. <!--小数位数-->
  451. <div class="tab-pane fade" id="poj-settings-decimal" role="tabpanel">
  452. <div class="modal-auto-height">
  453. <fieldset class="form-group">
  454. <h5>清单</h5>
  455. <div class="row m-0">
  456. <div class="col-sm-3">
  457. <div class="input-group input-group-sm mb-2">
  458. <div class="input-group-addon">单价</div>
  459. <input type="number" name="bills-unitPrice" class="form-control" value="2" step="1" max="6" min="0">
  460. </div>
  461. </div>
  462. <div class="col-sm-3">
  463. <div class="input-group input-group-sm mb-2">
  464. <div class="input-group-addon">合价</div>
  465. <input type="number" name="bills-totalPrice" class="form-control" value="2" step="1" max="6" min="0">
  466. </div>
  467. </div>
  468. </div>
  469. <h5 class="mt-3">定额</h5>
  470. <div class="row m-0">
  471. <div class="col-sm-3">
  472. <div class="input-group input-group-sm mb-2">
  473. <div class="input-group-addon">工程量</div>
  474. <input type="number" name="ration-quantity" class="form-control" value="2" step="1" max="6" min="0">
  475. </div>
  476. </div>
  477. <div class="col-sm-3">
  478. <div class="input-group input-group-sm mb-2">
  479. <div class="input-group-addon">单价</div>
  480. <input type="number" name="ration-unitPrice" class="form-control" value="2" step="1" max="6" min="0">
  481. </div>
  482. </div>
  483. <div class="col-sm-3">
  484. <div class="input-group input-group-sm mb-2">
  485. <div class="input-group-addon">合价</div>
  486. <input type="number" name="ration-totalPrice" class="form-control" value="2" step="1" max="6" min="0">
  487. </div>
  488. </div>
  489. </div>
  490. <h5 class="mt-3">人材机</h5>
  491. <div class="row m-0">
  492. <div class="col-sm-3">
  493. <div class="input-group input-group-sm mb-2">
  494. <div class="input-group-addon">消耗量</div>
  495. <input type="number" name="glj-quantity" class="form-control" value="2" step="1" max="6" min="0">
  496. </div>
  497. </div>
  498. <div class="col-sm-3">
  499. <div class="input-group input-group-sm mb-2">
  500. <div class="input-group-addon">单价</div>
  501. <input type="number" name="glj-unitPrice" class="form-control" value="2" step="1" max="6" min="0">
  502. </div>
  503. </div>
  504. </div>
  505. <h5 class="mt-3">费率</h5>
  506. <div class="row m-0">
  507. <div class="col-sm-3">
  508. <div class="input-group input-group-sm mb-2">
  509. <div class="input-group-addon">费率</div>
  510. <input type="number" name="feeRate" class="form-control" value="2" step="1" max="6" min="0">
  511. </div>
  512. </div>
  513. </div>
  514. </fieldset>
  515. </div>
  516. </div>
  517. <!--人工单价调整-->
  518. <div class="tab-pane fade" id="poj-settings-6" role="tabpanel">
  519. <div class="row px-3 modal-toolbar">
  520. <select class="col-4 form-control form-control-sm" id="std_labour_coe_files"><option>渝建[2016]71号</option><option>渝建[2017]78号</option></select>
  521. </div>
  522. <div class="modal-auto-height pt-1" style="overflow: hidden" id="labourCoeSpread" ></div>
  523. </div>
  524. <!--呈现选项-->
  525. <div class="tab-pane fade" id="display-setting" role="tabpanel">
  526. <div class="modal-auto-height" style="overflow: hidden">
  527. <fieldset class="form-group">
  528. <!-- <div class="form-check">
  529. <label class="form-check-label">
  530. <input class="form-check-input" id="autoHeight" type="checkbox">
  531. 造价书表格自动调整行高
  532. </label>
  533. </div>-->
  534. <div class="form-check">
  535. <label class="form-check-label">
  536. <input class="form-check-input" id="billsAutoHeight" type="checkbox">
  537. 工程量清单自动调整行高
  538. </label>
  539. </div>
  540. <div class="form-check">
  541. <label class="form-check-label">
  542. <input class="form-check-input" id="rationAutoHeight" type="checkbox">
  543. 定额子目自动调整行高
  544. </label>
  545. </div>
  546. <div class="form-check">
  547. <label class="form-check-label">
  548. <input class="form-check-input" id="disPlayMainMaterial" type="checkbox">
  549. 定额下显示主材、设备
  550. </label>
  551. </div>
  552. </fieldset>
  553. </div>
  554. </div>
  555. </div>
  556. </div>
  557. </div>
  558. </div>
  559. <div class="modal-footer">
  560. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  561. <a href="javascript:void(0);" class="btn btn-primary" id="property_ok" data-dismiss="modal">确定</a>
  562. </div>
  563. </div>
  564. </div>
  565. </div>
  566. <!--弹出选项-->
  567. <div class="modal fade" id="opts-set" data-backdrop="static">
  568. <div class="modal-dialog modal-lg" role="document">
  569. <div class="modal-content">
  570. <div class="modal-header">
  571. <h5 class="modal-title">选项</h5>
  572. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  573. <span aria-hidden="true">&times;</span>
  574. </button>
  575. </div>
  576. <div class="modal-body">
  577. <div class="row">
  578. <div class="col-3">
  579. <ul class="nav flex-column nav-pills" role="tablist">
  580. <li class="nav-item"><a class="nav-link active" data-toggle="pill" href="#opts-general" role="tab">常规选项</a></li>
  581. </ul>
  582. </div>
  583. <div class="col-9">
  584. <div class="tab-content">
  585. <!--常规选项-->
  586. <div class="tab-pane fade show active" id="opts-general" role="tabpanel">
  587. <div class="modal-auto-height">
  588. <fieldset class="form-group">
  589. <div class="form-check">
  590. <label class="form-check-label">
  591. <input class="form-check-input" name="opts-general-radios" id="generalOpts1" value="opt1" type="checkbox">
  592. 自动根据清单工程量填写定额工程量
  593. </label>
  594. </div>
  595. <div class="form-check">
  596. <label class="form-check-label">
  597. <input class="form-check-input" name="opts-general-radios" id="generalOpts2" value="opt2" type="checkbox">
  598. 自动根据定额单位转换定额工程量
  599. </label>
  600. </div>
  601. </fieldset>
  602. </div>
  603. </div>
  604. </div>
  605. </div>
  606. </div>
  607. </div>
  608. </div>
  609. </div>
  610. </div>
  611. <!--弹出清单单位选择设置-->
  612. <div class="modal fade" id="std_bills_unit" data-backdrop="static">
  613. <div class="modal-dialog" role="document">
  614. <div class="modal-content">
  615. <div class="modal-header">
  616. <h5 class="modal-title">请选择清单计量单位</h5>
  617. <button type="button" class="close" id='std_bills_unit_close' aria-label="Close">
  618. <span aria-hidden="true">&times;</span>
  619. </button>
  620. </div>
  621. <div class="modal-body modal-auto-height" id="std_bills_unit_spread" style="height: 200px; width: 500px; overflow: hidden;">
  622. </div>
  623. <div class="modal-footer">
  624. <a href="javascript:void(0);" id="std_bills_unit_ok" class="btn btn-primary">确定</a>
  625. <button type="button" class="btn btn-secondary" id='std_bills_unit_cancel'>关闭</button>
  626. </div>
  627. </div>
  628. </div>
  629. </div>
  630. <!--弹出列设置-->
  631. <div class="modal fade" id="column" data-backdrop="static">
  632. <div class="modal-dialog modal-lg" role="document" style="width: 350px;">
  633. <div class="modal-content">
  634. <div class="modal-header">
  635. <h5 class="modal-title"><i class="fa fa-table"></i> 列设置</h5>
  636. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  637. <span aria-hidden="true">&times;</span>
  638. </button>
  639. </div>
  640. <div class="modal-body modal-auto-height" id="col_setting_spread" style="overflow: hidden;">
  641. </div>
  642. <div class="modal-footer">
  643. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  644. </div>
  645. </div>
  646. </div>
  647. </div>
  648. <!--工料机选择窗口-->
  649. <div class="modal fade" id="glj_tree_div" data-backdrop="static">
  650. <div class="modal-dialog modal-lg" role="document" id="modalCon">
  651. <div class="modal-content" style="width: 1020px; left:50%; transform: translate(-50%,0%);">
  652. <div class="modal-header">
  653. <h5 class="modal-title">请选择人材机</h5>
  654. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  655. <span aria-hidden="true">&times;</span>
  656. </button>
  657. <input type="hidden" id="actionType">
  658. </div>
  659. <div class="modal-body">
  660. <div style="width: 33%; float: left;">
  661. <div class="modal-auto-height" id="componentTreeDiv" style=" height: 415px; overflow: hidden;">
  662. <!--<div class="print-list">-->
  663. <div style="width: 100%; height: 100%; overflow: auto">
  664. <ul id="gljTree" class="ztree"></ul>
  665. </div>
  666. <!--</div>-->
  667. </div>
  668. </div>
  669. <div style="width:67%; padding-left: 8px; float: left;">
  670. <div class="row">
  671. <div class="col-12" id="gljRadios">
  672. <div class="row">
  673. <div class="col-7" style="margin-top: 5px;">
  674. <input type="radio" class="glj-radio" name="glj" value="allGljs" checked>所有人材机&nbsp;&nbsp;
  675. <input type="radio" class="glj-radio" name="glj" value="stdGLJ">标准人材机&nbsp;&nbsp;
  676. <input type="radio" class="glj-radio" name="glj" value="complementaryGLJs">补充人材机&nbsp;&nbsp;
  677. </div>
  678. <div class="input-group col-5" style="margin-bottom: 5px;">
  679. <input type="text" class="form-control form-control-sm" placeholder="请输入筛选编码或名称" value="" id="gljSearchKeyword">
  680. <!-- <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>-->
  681. </div>
  682. </div>
  683. <!-- <div class="form-group"><input id="searchGlj" type="text" class="form-control-sm" placeholder="查询工料机"></div>-->
  684. </div>
  685. <div class="modal-auto-height col-12" style="overflow: hidden" id="gljLibSheet">
  686. </div>
  687. </div>
  688. </div>
  689. </div>
  690. <div class="modal-footer">
  691. <button type="button" id="componentsCacnel" class="btn btn-secondary" data-dismiss="modal">取消</button>
  692. <a href="javascript:void(0);" id="glj_selected_conf" class="btn btn-primary">确定</a>
  693. </div>
  694. </div>
  695. </div>
  696. </div>
  697. <!--工料机类型选择-->
  698. <div class="modal fade" id="glj_class_div" data-backdrop="static">
  699. <div class="modal-dialog modal-m" role="document" id="class_con">
  700. <div class="modal-content" >
  701. <div class="modal-header">
  702. <h5 class="modal-title">请选择分类</h5>
  703. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  704. <span aria-hidden="true">&times;</span>
  705. </button>
  706. <input type="hidden" name="" id="selected_class">
  707. </div>
  708. <div class="modal-body">
  709. <div class="row">
  710. <div class="col-12">
  711. <div class="modal-auto-height" id="classTreeDiv" style="overflow: hidden">
  712. <!--<div class="print-list">-->
  713. <div style="width: 100%; height: 100%; overflow: auto">
  714. <ul id="classTree" class="ztree"></ul>
  715. </div>
  716. <!--</div>-->
  717. </div>
  718. </div>
  719. </div>
  720. </div>
  721. <div class="modal-footer">
  722. <button type="button" id="classCacnel" class="btn btn-secondary" data-dismiss="modal">取消</button>
  723. <button type="button" href="javascript:void(0);" id="class_selected_conf" class="btn btn-primary" disabled >确定</button>
  724. </div>
  725. </div>
  726. </div>
  727. </div>
  728. <!--费率选择窗口-->
  729. <div class="modal fade" id="fee_rate_tree" data-backdrop="static">
  730. <div class="modal-dialog modal-feeRate" role="document" id="fee_rate_dialog">
  731. <div class="modal-content" >
  732. <div class="modal-header">
  733. <h5 class="modal-title">费率选择</h5>
  734. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  735. <span aria-hidden="true">&times;</span>
  736. </button>
  737. </div>
  738. <div class="modal-body">
  739. <input type="hidden" id="edit_from">
  740. <div class="row">
  741. <div class="modal-auto-height col-12" style="overflow: hidden" id="fee_rate_sheet"></div>
  742. </div>
  743. <div class="modal-footer">
  744. <button type="button" id="frCacnel" class="btn btn-secondary" data-dismiss="modal">取消</button>
  745. <a href="javascript:void(0);" id="fee_selected_conf" class="btn btn-primary">确定</a>
  746. </div>
  747. </div>
  748. </div>
  749. </div>
  750. </div>
  751. <!--弹出 清单 计算基数-->
  752. <div class="modal fade" id="qd-jsjs" data-backdrop="static">
  753. <div class="modal-dialog" role="document">
  754. <div class="modal-content" style="width:670px;">
  755. <div class="modal-header">
  756. <h5 class="modal-title">计算基础选择</h5>
  757. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  758. <span aria-hidden="true">&times;</span>
  759. </button>
  760. </div>
  761. <div class="modal-body">
  762. <div class="form-group">
  763. <input class="form-control" id="calcBaseExp" value="">
  764. <p class="form-text">
  765. <button class="btn btn-secondary btn-sm" id="addOpr">+</button>
  766. <button class="btn btn-secondary btn-sm" id="subOpr">-</button>
  767. <button class="btn btn-secondary btn-sm" id="mulOpr">*</button>
  768. <button class="btn btn-secondary btn-sm" id="divOpr">/</button>
  769. <button class="btn btn-secondary btn-sm" id="leftOpr">(</button>
  770. <button class="btn btn-secondary btn-sm" id="rightOpr">)</button>
  771. </p>
  772. </div>
  773. <div class="row" id="cbRowDiv">
  774. <div class="col-3" id="cbClassList">
  775. <ul class="list-unstyled">
  776. <li class="py-1" style="margin-left: 50px;">
  777. <a id="cb_ALL" class="btn btn-outline-secondary btn-sm active" href="javascript:void(0)">所有</a>
  778. </li>
  779. <li class="py-1" style="margin-left: 50px;">
  780. <a id="cb_FBFX" href="javascript:void(0);">分部分项</a>
  781. </li>
  782. <li class="py-1" style="margin-left: 50px;">
  783. <a id="cb_CSXM" href="javascript:void(0)">措施项目</a>
  784. </li>
  785. <li class="py-1" style="margin-left: 50px;">
  786. <a id="cb_QTXM" href="javascript:void(0)">其他项目</a>
  787. </li>
  788. <li class="py-1" style="margin-left: 50px;">
  789. <a id="cb_RCJ" href="javascript:void(0)">人材机</a>
  790. </li>
  791. <li class="py-1" style="margin-left: 50px;">
  792. <a id="cb_FBF" href="javascript:void(0)">分包费</a>
  793. </li>
  794. <li class="py-1" style="margin-left: 50px;">
  795. <a id="cb_GF" href="javascript:void(0)">规费</a>
  796. </li>
  797. <li class="py-1" style="margin-left: 50px;">
  798. <a id="cb_SJ" href="javascript:void(0)">税金</a>
  799. </li>
  800. <li class="py-1" style="margin-left: 50px;">
  801. <a id="cb_SQGCZJ" href="javascript:void(0)">税前工程造价</a>
  802. </li>
  803. </ul>
  804. </div>
  805. <div class=" modal-auto-height col-9" style="overflow: hidden" id="billsBaseSpread">
  806. </div>
  807. </div>
  808. </div>
  809. <div class="modal-footer">
  810. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  811. <a href="javascript:void(0);" class="btn btn-primary" id="calcBaseConf">确定</a>
  812. </div>
  813. </div>
  814. </div>
  815. </div>
  816. <!--弹出补充定额库-->
  817. <div class="modal fade" id="comple-ration" data-backdrop="static">
  818. <div class="modal-dialog modal-lg" role="document">
  819. <div class="modal-content">
  820. <div class="modal-header">
  821. <h5 class="modal-title">定额库</h5>
  822. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  823. <span aria-hidden="true">&times;</span>
  824. </button>
  825. </div>
  826. <div class="modal-auto-height">
  827. <table class="table table-hover table-bordered">
  828. <thead><tr><th>定额库名称</th></tr></thead>
  829. <tbody id="comple_ration_table">
  830. </tbody>
  831. </table>
  832. </div>
  833. </div>
  834. </div>
  835. </div>
  836. <!--弹出 是否删除所选行窗口-->
  837. <div class="modal fade" id="delete_row" data-backdrop="static">
  838. <div class="modal-dialog" role="document">
  839. <div class="modal-content">
  840. <div class="modal-header">
  841. <h5 class="modal-title">删除确认</h5>
  842. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  843. <span aria-hidden="true">&times;</span>
  844. </button>
  845. </div>
  846. <div class="modal-body">
  847. <div class="form-group">
  848. <div id="delete_showinfo">
  849. <label>确认要删除当前选中行吗?</label>
  850. </div>
  851. </div>
  852. </div>
  853. <div class="modal-footer" style="justify-content: center">
  854. <button type="button" class="btn btn-primary" data-dismiss="modal" id="deleteY" >是</button>
  855. <button type="button" class="btn btn-primary" data-dismiss="modal" id="deleteN" >否</button>
  856. <button type="button" class="btn btn-secondary" data-dismiss="modal" id="deleteCancel">取消</button>
  857. </div>
  858. </div>
  859. </div>
  860. </div>
  861. <!--弹出 整理分部-->
  862. <div class="modal fade" id="zlfb" data-backdrop="static">
  863. <div class="modal-dialog" role="document">
  864. <div class="modal-content">
  865. <div class="modal-header">
  866. <h5 class="modal-title">整理分部</h5>
  867. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  868. <span aria-hidden="true">&times;</span>
  869. </button>
  870. </div>
  871. <div class="modal-body">
  872. <div class="form-check">
  873. <input class="form-check-input zlfb-check" type="checkbox" id="bill_first" >
  874. <label class="form-check-label">
  875. 需要专业分部标题
  876. </label>
  877. </div>
  878. <div class="form-check">
  879. <input class="form-check-input zlfb-check" type="checkbox" checked id="bill_second" >
  880. <label class="form-check-label">
  881. 需要章分部标题
  882. </label>
  883. </div>
  884. <div class="form-check">
  885. <input class="form-check-input zlfb-check" type="checkbox" id="bill_third" >
  886. <label class="form-check-label">
  887. 需要节分部标题
  888. </label>
  889. </div>
  890. <div class="form-check">
  891. <input class="form-check-input zlfb-check" type="checkbox" checked disabled value="" >
  892. <label class="form-check-label">
  893. 删除自定义分部标题
  894. </label>
  895. </div>
  896. <div class="form-check">
  897. <input class="form-check-input zlfb-check" type="checkbox" checked id="bill_resort">
  898. <label class="form-check-label">
  899. 清单排序
  900. </label>
  901. </div>
  902. <div class="form-check">
  903. <input class="form-check-input zlfb-check" type="checkbox" checked id="bill_recode" >
  904. <label class="form-check-label">
  905. 清单重新编码
  906. </label>
  907. </div>
  908. <div class="card mt-3">
  909. <div class="card-body p-2">
  910. <h5 class="card-title">操作说明</h5>
  911. <p class="card-text">执行分部整理将对当前清单列表存在的清单按以上勾选项进行整理;</br>
  912. 勾选“需要专业分部标题”,表示分部整理时需要添加清单专业标题;</br>
  913. 勾选“需要章分部标题”,表示分部整理时需要添加章标题;</br>
  914. 勾选“需要节分部标题”,表示分部整理时需要添加节标题;</br>
  915. 勾选“删除自定义分部标题”,将首先删除已有自定义分部标题,然后再执行分部整理;</br>
  916. 勾选“清单排序”,表示分部整理后对每个分部下的清单进行排序;</br>
  917. 勾选“清单重新编码”,表示分部整理后对每个分部下的清单重新生成流水号;
  918. </p>
  919. </div>
  920. </div>
  921. </div>
  922. <div class="modal-footer">
  923. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  924. <button type="button" class="btn btn-primary" id="zlfb_confirm">确定</button>
  925. </div>
  926. </div>
  927. </div>
  928. </div>
  929. <!--弹出 计取安装费用-->
  930. <div class="modal fade" id="calc_installation_fee" data-backdrop="static">
  931. <div class="modal-dialog modal-lg" style="max-width: 1100px" role="document">
  932. <div class="modal-content" style="width: 1100px">
  933. <div class="modal-header">
  934. <h5 class="modal-title">统一设置计取安装费用</h5>
  935. <button type="button" class="close" id="calc_installation_fee_close" aria-label="Close">
  936. <span aria-hidden="true">&times;</span>
  937. </button>
  938. </div>
  939. <div class="modal-body">
  940. <div class="row" style="height:250px"><!--sjs id设置在这个div-->
  941. <div class=" col-8" style="overflow: hidden" id="feeItemSheet">
  942. </div>
  943. <div class=" col-4" style="overflow: hidden" id="install_setting">
  944. <div style="height: 100px;" >
  945. <!--<div class="setting_title">整个项目统一计取</div>-->
  946. <fieldset class="form-group" style="border:1px solid #b3b3b3;padding: 15px">
  947. <legend class="legend" >分项费用:</legend>
  948. <div class="form-check">
  949. <label class="form-check-label">
  950. <input class="form-check-input" name="install_setting_radios" id="all_project_calc" value="0" type="radio">
  951. 整个项目统一计取
  952. </label>
  953. </div>
  954. <div class="form-check">
  955. <label class="form-check-label">
  956. <input class="form-check-input" name="install_setting_radios" id="FB_calc" value="1" type="radio">
  957. 每个分部单独计取
  958. </label>
  959. </div>
  960. </fieldset>
  961. </div>
  962. </div>
  963. </div>
  964. <br>
  965. <div class="row" style="height:400px"><!--sjs id设置在这个div-->
  966. <div class="col-12" style="overflow: hidden" id="feeDetailSheet"></div>
  967. </div>
  968. </div>
  969. <div class="modal-footer">
  970. <button type="button" class="btn btn-link" id="btn_reset_to_default">恢复默认值</button>
  971. <!-- <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>-->
  972. <button class="btn btn-primary" id="calc_installation_fee_confirm">确定</button>
  973. </div>
  974. </div>
  975. </div>
  976. </div>
  977. <!--弹出 指定具体位置(计取安装费用)-->
  978. <div class="modal fade" id="calc_position" data-backdrop="static" style="z-index: 1060">
  979. <input type="hidden" id ='calc_position_from'>
  980. <div class="modal-dialog modal-lg" role="document">
  981. <div class="modal-content">
  982. <div class="modal-header">
  983. <h5 class="modal-title">指定具体位置</h5>
  984. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  985. <span aria-hidden="true">&times;</span>
  986. </button>
  987. </div>
  988. <div class="modal-body">
  989. <div class="row mb-2">
  990. <div class="col-8">
  991. <div class="input-group input-group-sm">
  992. <input type="text" class="form-control" placeholder="输入编码 或 名称 " id="filterKeyword" aria-describedby="basic-addon2">
  993. <div class="input-group-append">
  994. <button class="btn btn-secondary" id="positionSheetFilter" type="button"><i class="fa fa-search"></i> 过滤</button>
  995. <button class="btn btn-outline-secondary" id="cancelFilter" type="button">取消过滤</button>
  996. </div>
  997. </div>
  998. </div>
  999. </div>
  1000. <div class="row" style="height:400px"><!--sjs id设置在这个div-->
  1001. <div class="col-12" style="overflow: hidden" id="positionSpread"></div>
  1002. </div>
  1003. </div>
  1004. <div class="modal-footer">
  1005. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1006. <button class="btn btn-primary" id="select_position_confirm">确定</button>
  1007. </div>
  1008. </div>
  1009. </div>
  1010. </div>
  1011. <!--弹出 查询安装费用-->
  1012. <div class="modal fade" id="more_feeRule" data-backdrop="static">
  1013. <div class="modal-dialog modal-lg" style="max-width: 950px" role="document">
  1014. <div class="modal-content">
  1015. <div class="modal-header">
  1016. <h5 class="modal-title">查询安装费用</h5>
  1017. <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="more_feeRule_close">
  1018. <span aria-hidden="true">&times;</span>
  1019. </button>
  1020. <input type="hidden" id="more_from">
  1021. </div>
  1022. <div class="modal-body">
  1023. <div class="modal-fixed-height" id="moreFeeRuleSpread"><!--sjs ID设置此div--->
  1024. </div>
  1025. </div>
  1026. <div class="modal-footer">
  1027. <button type="button" class="btn btn-secondary" id="more_feeRule_concel" data-dismiss="modal">取消</button>
  1028. <button class="btn btn-primary" id="more_feeRule_confirm">确定</button>
  1029. </div>
  1030. </div>
  1031. </div>
  1032. </div>
  1033. <!--弹出 修改费用规则-->
  1034. <div class="modal fade" id="modify_feeRule" data-backdrop="static">
  1035. <div class="modal-dialog " style="max-width: 950px" role="document">
  1036. <div class="modal-content">
  1037. <div class="modal-header">
  1038. <h5 class="modal-title">修改费用规则</h5>
  1039. <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="modify_feeRule_close">
  1040. <span aria-hidden="true">&times;</span>
  1041. </button>
  1042. </div>
  1043. <div class="modal-body">
  1044. <div style="height: 100px" id="modifyFeeRuleSpread"><!--sjs ID设置此div--->
  1045. </div>
  1046. </div>
  1047. <div class="modal-footer">
  1048. <button type="button" class="btn btn-secondary" id="modify_feeRule_concel" data-dismiss="modal">取消</button>
  1049. <button class="btn btn-primary" id="modify_feeRule_confirm">确定</button>
  1050. </div>
  1051. </div>
  1052. </div>
  1053. </div>
  1054. <!--弹出 导入-->
  1055. <div class="modal fade" id="import" data-backdrop="static">
  1056. <div class="modal-dialog" role="document">
  1057. <div class="modal-content">
  1058. <div class="modal-header">
  1059. <h5 class="modal-title">导入Excel清单</h5>
  1060. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1061. <span aria-hidden="true">&times;</span>
  1062. </button>
  1063. </div>
  1064. <div class="modal-body">
  1065. <div class="custom-file">
  1066. <input type="file" class="custom-file-input" id="customFile" lang="zh" accept=".xls,.xlsx">
  1067. <label class="custom-file-label" for="customFile" style="white-space: nowrap; overflow: hidden;">请选择上传文件</label>
  1068. </div>
  1069. <div class="alert alert-success mt-3" id="uploadAlert" role="alert" style="display: none;">
  1070. 广东XXXX项目清单.xlsx 准备导入上传
  1071. </div>
  1072. <button type="button" class="btn btn-primary" id="uploadExample">示例</button>
  1073. </div>
  1074. <div class="modal-footer">
  1075. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1076. <a href="javascript:void(0);" class="btn btn-primary" id="uploadConfirm">确定导入</a>
  1077. </div>
  1078. </div>
  1079. </div>
  1080. </div>
  1081. <!--弹出 粘帖位置选择-->
  1082. <div class="modal fade" id="pastePosition" data-backdrop="static">
  1083. <div class="modal-dialog" role="document">
  1084. <div class="modal-content">
  1085. <div class="modal-header">
  1086. <h5 class="modal-title">粘帖位置选择</h5>
  1087. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1088. <span aria-hidden="true">&times;</span>
  1089. </button>
  1090. </div>
  1091. <div class="modal-body">
  1092. <div class="form-group">
  1093. <label >插入为选定节点的:</label>
  1094. <div>
  1095. <div class="form-check form-check-inline">
  1096. <input class="form-check-input" type="radio" name="pastePositionRadio" id="next_node" value="next">
  1097. <label class="form-check-label" for="next_node">后项</label>
  1098. </div>
  1099. <div class="form-check form-check-inline">
  1100. <input class="form-check-input" type="radio" name="pastePositionRadio" id="pre_node" value="pre">
  1101. <label class="form-check-label" for="pre_node">前项</label>
  1102. </div>
  1103. <div class="form-check form-check-inline">
  1104. <input class="form-check-input" type="radio" name="pastePositionRadio" id="sub_node" value="sub">
  1105. <label class="form-check-label" for="sub_node">子项</label>
  1106. </div>
  1107. </div>
  1108. </div>
  1109. </div>
  1110. <div class="modal-footer">
  1111. <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
  1112. <button class="btn btn-primary" id="paste_confirm">确定</button>
  1113. </div>
  1114. </div>
  1115. </div>
  1116. </div>
  1117. <!-- JS. -->
  1118. <script type="text/javascript" src="/lib/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js"></script>
  1119. <script src="/lib/spreadjs/views/gc.spread.views.dataview.10.0.0.min.js" type="text/javascript"></script>
  1120. <script type="text/javascript" src="/lib/ztree/jquery.ztree.core.js"></script>
  1121. <script type="text/javascript" src="/lib/ztree/jquery.ztree.excheck.js"></script>
  1122. <!--<script src="/lib/spreadjs/views/common/gc.spread.common.10.0.0.min.js" type="text/javascript"></script>-->
  1123. <script src="/lib/spreadjs/views/plugins/gc.spread.views.gridlayout.10.0.0.min.js" type="text/javascript"></script>
  1124. <script>GC.Spread.Sheets.LicenseKey = "559432293813965#A0y3iTOzEDOzkjMyMDN9UTNiojIklkI1pjIEJCLi4TPB9mM5AFNTd4cvZ7SaJUVy3CWKtWYXx4VVhjMpp7dYNGdx2ia9sEVlZGOTh7NRlTUwkWR9wEV4gmbjBDZ4ElR8N7cGdHVvEWVBtCOwIGW0ZmeYVWVr3mI0IyUiwCMzETN8kzNzYTM0IicfJye&Qf35VfiEzRwEkI0IyQiwiIwEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsIyNyMzM5ADI5ADNwcTMwIjI0ICdyNkIsIibj9SbvNmL4N7bjRnch56ciojIz5GRiwiI8+Y9sWY9QmZ0Jyp96uL9v6L0wap9biY9qiq95q197Wr9g+89iojIh94Wiqi";</script>
  1125. <script>GC.Spread.Views.LicenseKey = "559432293813965#A0y3iTOzEDOzkjMyMDN9UTNiojIklkI1pjIEJCLi4TPB9mM5AFNTd4cvZ7SaJUVy3CWKtWYXx4VVhjMpp7dYNGdx2ia9sEVlZGOTh7NRlTUwkWR9wEV4gmbjBDZ4ElR8N7cGdHVvEWVBtCOwIGW0ZmeYVWVr3mI0IyUiwCMzETN8kzNzYTM0IicfJye&Qf35VfiEzRwEkI0IyQiwiIwEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsIyNyMzM5ADI5ADNwcTMwIjI0ICdyNkIsIibj9SbvNmL4N7bjRnch56ciojIz5GRiwiI8+Y9sWY9QmZ0Jyp96uL9v6L0wap9biY9qiq95q197Wr9g+89iojIh94Wiqi";</script>
  1126. <!-- inject:js -->
  1127. <!--<script type="text/javascript" src="/test/tmp_data/test_ration_calc/ration_calc_base.js"></script>-->
  1128. <script type="text/javascript" src="/web/building_saas/main/js/models/main_consts.js"></script>
  1129. <script type="text/javascript" src="/public/web/common_util.js"></script>
  1130. <script type="text/javascript" src="/web/building_saas/glj/js/project_glj.js"></script>
  1131. <script type="text/javascript" src="/web/building_saas/glj/js/composition.js"></script>
  1132. <script type="text/javascript" src="/web/building_saas/glj/js/common_spread.js"></script>
  1133. <script type="text/javascript" src="/web/building_saas/glj/js/composition_spread.js"></script>
  1134. <script type="text/javascript" src="/web/building_saas/glj/js/project_glj_spread.js"></script>
  1135. <script src="/web/building_saas/glj/js/socket.io.slim.js"></script>
  1136. <script src="/public/web/socket/connection.js"></script>
  1137. <script src="/public/web/uuid.js"></script>
  1138. <script type="text/javascript" src="/public/web/sheet/sheet_common.js"></script>
  1139. <!--expression calculate-->
  1140. <script src="/lib/JSExpressionEval_src/Date.js"></script>
  1141. <script src="/lib/JSExpressionEval_src/Stack.js"></script>
  1142. <script src="/lib/JSExpressionEval_src/Tokanizer.js"></script>
  1143. <script src="/lib/JSExpressionEval_src/Evaluator.js"></script>
  1144. <!--end expression calculate-->
  1145. <script type="text/javascript" src="/lib/jquery-ui/jquery-ui.min.js"></script>
  1146. <script type="text/javascript" src="/lib/jquery-ui/jquery-ui-datepickerCN.js"></script>
  1147. <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.contextMenu.js"></script>
  1148. <script type="text/javascript" src="/lib/jquery-contextmenu/jquery.ui.position.js"></script>
  1149. <!--<script type="text/javascript" src="/lib/lodash/lodash.js"></script>-->
  1150. <!-- Common -->
  1151. <script type="text/javascript" src="/public/web/common_ajax.js"></script>
  1152. <script type="text/javascript" src="/public/web/url_util.js"></script>
  1153. <script type="text/javascript" src="/public/web/number_util.js"></script>
  1154. <script type="text/javascript" src="/public/web/sheet/sheet_common.js"></script>
  1155. <!-- JS. -->
  1156. <script src="/lib/popper/popper.min.js"></script>
  1157. <script src="/lib/bootstrap/bootstrap.min.js"></script>
  1158. <script src="/web/building_saas/js/global.js"></script>
  1159. <!--报表 zTree -->
  1160. <!-- SpreadJs -->
  1161. <!--<script src="/lib/spreadjs/views/locale/gc.spread.views.dataview.locale.zh-CN.10.0.0.min.js" type="text/javascript"></script>-->
  1162. <!-- Model -->
  1163. <script type="text/javascript" src="/web/building_saas/main/js/models/project.js"></script>
  1164. <script type="text/javascript" src="/web/building_saas/main/js/models/bills.js"></script>
  1165. <script type="text/javascript" src="/web/building_saas/main/js/models/ration.js"></script>
  1166. <script type="text/javascript" src="/web/building_saas/main/js/models/glj.js"></script>
  1167. <script type="text/javascript" src="/web/building_saas/main/js/models/project_glj.js"></script>
  1168. <script type="text/javascript" src="/web/building_saas/main/js/models/composition.js"></script>
  1169. <script type="text/javascript" src="/web/building_saas/main/js/models/fee_rate.js"></script>
  1170. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_glj.js"></script>
  1171. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_coe.js"></script>
  1172. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_ass.js"></script>
  1173. <script type="text/javascript" src="/web/building_saas/main/js/models/ration_installation.js"></script>
  1174. <!--<script type="text/javascript" src="/web/building_saas/main/js/models/volume_price.js"></script>-->
  1175. <script type="text/javascript" src="/web/building_saas/main/js/models/labour_coe.js"></script>
  1176. <script type="text/javascript" src="/web/building_saas/main/js/models/calc_program.js"></script>
  1177. <script type="text/javascript" src="/web/building_saas/main/js/models/calc_base.js"></script>
  1178. <script type="text/javascript" src="/web/building_saas/main/js/models/installation_fee.js"></script>
  1179. <script type="text/javascript" src="/web/building_saas/main/js/views/calc_program_manage.js"></script>
  1180. <script type="text/javascript" src="/public/web/id_tree.js"></script>
  1181. <script type="text/javascript" src="/web/building_saas/main/js/models/cache_tree.js"></script>
  1182. <script type="text/javascript" src="/web/building_saas/main/js/calc/calc_fees.js"></script>
  1183. <!--<script type="text/javascript" src="/web/building_saas/main/js/calc/ration_calc.js"></script>-->
  1184. <!--<script type="text/javascript" src="/web/building_saas/main/js/calc/bills_calc.js"></script>-->
  1185. <!--<script type="text/javascript" src="/public/calc_util.js"></script>-->
  1186. <!-- Controller -->
  1187. <script type="text/javascript" src="/public/web/tree_sheet/tree_sheet_controller.js"></script>
  1188. <script type="text/javascript" src="/public/web/tree_sheet/tree_sheet_helper.js"></script>
  1189. <script type="text/javascript" src="/public/web/sheet/sheet_data_helper.js"></script>
  1190. <!-- view -->
  1191. <script type="text/javascript" src="/web/building_saas/main/js/views/main_tree_col.js"></script>
  1192. <script type="text/javascript" src="/web/building_saas/main/js/views/project_info.js"></script>
  1193. <script type="text/javascript" src="/web/building_saas/main/js/views/project_view.js"></script>
  1194. <script type="text/javascript" src="/web/building_saas/main/js/views/options_view.js"></script>
  1195. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_bills_quantity_decimal.js"></script>
  1196. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_decimal_view.js"></script>
  1197. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_basicInfo.js"></script>
  1198. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_projFeature.js"></script>
  1199. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_indicativeInfo.js"></script>
  1200. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_display_view.js"></script>
  1201. <script type="text/javascript" src="/web/building_saas/main/js/main_ajax.js"></script>
  1202. <script type="text/javascript" src="/web/building_saas/main/js/main.js"></script>
  1203. <script type="text/javascript" src="/web/building_saas/main/js/controllers/project_controller.js"></script>
  1204. <script type="text/javascript" src="/web/building_saas/main/js/controllers/block_controller.js"></script>
  1205. <script type="text/javascript" src="/web/building_saas/main/js/views/side_tools.js"></script>
  1206. <script type="text/javascript" src="/web/building_saas/main/js/views/std_bills_lib.js"></script>
  1207. <script type="text/javascript" src="/web/building_saas/main/js/views/std_ration_lib.js"></script>
  1208. <script type="text/javascript" src="/web/building_saas/main/js/models/quantity_detail.js"></script>
  1209. <script type="text/javascript" src="/web/building_saas/main/js/views/glj_view_contextMenu.js"></script>
  1210. <script type="text/javascript" src="/web/building_saas/main/js/views/calc_program_view.js"></script>
  1211. <script type="text/javascript" src='/web/building_saas/main/js/views/confirm_modal.js'></script>
  1212. <script type="text/javascript" src='/web/building_saas/main/js/views/zlfb_view.js'></script>
  1213. <script type="text/javascript" src='/web/building_saas/main/js/views/installation_fee_view.js'></script>
  1214. <script type="text/javascript" src='/web/building_saas/main/js/views/project_glj_view.js'></script>
  1215. <!--报表-->
  1216. <script type="text/javascript" src="/public/web/rpt_tpl_def.js"></script>
  1217. <script type="text/javascript" src="/public/web/treeDataHelper.js"></script>
  1218. <script type="text/javascript" src="/public/web/ztree_common.js"></script>
  1219. <script type="text/javascript" src="/web/building_saas/report/js/rpt_main.js"></script>
  1220. <script type="text/javascript" src="/web/building_saas/report/js/rpt_cfg_const.js"></script>
  1221. <script type="text/javascript" src="/web/building_saas/report/js/jpc_output_value_define.js"></script>
  1222. <script type="text/javascript" src="/web/building_saas/report/js/jpc_output.js"></script>
  1223. <script type="text/javascript" src="/web/building_saas/report/js/rpt_print.js"></script>
  1224. <script type="text/javascript" src="/web/building_saas/main/js/views/character_content_view.js"></script>
  1225. <script type="text/javascript" src="/web/building_saas/main/js/views/glj_view.js"></script>
  1226. <script type="text/javascript" src="/web/building_saas/main/js/views/zmhs_view.js"></script>
  1227. <script type="text/javascript" src="/web/building_saas/main/js/views/tender_price_view.js"></script>
  1228. <script type="text/javascript" src="/web/building_saas/main/js/views/sub_view.js"></script>
  1229. <script type="text/javascript" src="/web/building_saas/main/js/views/fee_rate_view.js"></script>
  1230. <script type="text/javascript" src="/web/building_saas/main/js/views/sub_fee_rate_views.js"></script>
  1231. <script type="text/javascript" src="/web/building_saas/main/js/views/calc_base_view.js"></script>
  1232. <script type="text/javascript" src="/web/building_saas/main/js/views/project_property_labour_coe_view.js"></script>
  1233. <script type="text/javascript" src="/web/building_saas/complementary_ration_lib/js/main.js"></script>
  1234. <script type="text/javascript" src="/public/web/storageUtil.js"></script>
  1235. <!-- endinject -->
  1236. <script type="text/javascript">
  1237. // autoFlashHeight();
  1238. </script>
  1239. <script>
  1240. !function loadHintBox(){
  1241. $("body").append('<div id = "hintBox_container"></div>');
  1242. $("#hintBox_container").load("../../../../public/scHintBox.html");
  1243. }();
  1244. </script>
  1245. <SCRIPT type="text/javascript">
  1246. <!--
  1247. // var zNodes =[
  1248. // { id:1, pId:0, name:"随意勾选 1", open:true},
  1249. // { id:11, pId:1, name:"随意勾选 1-1"},
  1250. // { id:12, pId:1, name:"随意勾选 1-2", open:true},
  1251. // { id:121, pId:12, name:"随意勾选 1-2-1", checked:true},
  1252. // { id:122, pId:12, name:"随意勾选 1-2-2"},
  1253. // { id:123, pId:12, name:"随意勾选 1-2-3"},
  1254. // { id:13, pId:1, name:"随意勾选 1-3"},
  1255. // { id:2, pId:0, name:"随意勾选 2", open:true},
  1256. // { id:21, pId:2, name:"随意勾选 2-1"},
  1257. // { id:22, pId:2, name:"随意勾选 2-2", open:true},
  1258. // { id:221, pId:22, name:"随意勾选 2-2-1", checked:true},
  1259. // { id:222, pId:22, name:"随意勾选 2-2-2"},
  1260. // { id:223, pId:22, name:"随意勾选 2-2-3"},
  1261. // { id:23, pId:2, name:"随意勾选 2-3", checked:true}
  1262. // ];
  1263. var clearFlag = false;
  1264. function onCheck(e, treeId, treeNode) {
  1265. count();
  1266. if (clearFlag) {
  1267. clearCheckedOldNodes();
  1268. }
  1269. }
  1270. function clearCheckedOldNodes() {
  1271. var zTree = $.fn.zTree.getZTreeObj("treeDemo"),
  1272. nodes = zTree.getChangeCheckedNodes();
  1273. for (var i=0, l=nodes.length; i<l; i++) {
  1274. nodes[i].checkedOld = nodes[i].checked;
  1275. }
  1276. }
  1277. function count() {
  1278. var zTree = $.fn.zTree.getZTreeObj("treeDemo"),
  1279. checkCount = zTree.getCheckedNodes(true).length;
  1280. $("#checkCount").text(checkCount);
  1281. }
  1282. // function createTree() {
  1283. // $.fn.zTree.init($("#treeDemo"), setting, zNodes);
  1284. // count();
  1285. // }
  1286. $(document).ready(function(){
  1287. //createTree();
  1288. /* document.onkeydown=keydown;
  1289. function keydown(e){
  1290. alert('aa');
  1291. e.preventDefault();
  1292. e.stopPropagation()
  1293. }*/
  1294. /* $(document).keypress(function(e) {
  1295. var code = (e.keyCode ? e.keyCode : e.which);
  1296. if (code == 40) {
  1297. alert("down pressed");
  1298. } else if (code == 38) {
  1299. alert("up pressed");
  1300. }
  1301. });*/
  1302. /* $("#tab_calc_program").click(function(){
  1303. location.href = '/web/building_saas/main/html/calc_program.html';
  1304. });*/
  1305. //rptTplObj.iniPage();
  1306. });
  1307. //-->
  1308. </SCRIPT>
  1309. <div id="dropdown" style="z-index: 9999; position: fixed ! important;background: white;display:none"> <!--;left:170px;top:790px -->
  1310. <!--<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>-->
  1311. </div>
  1312. </body>
  1313. </html>