main.html 86 KB

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