main.html 120 KB

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