main.html 83 KB

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