print_all.blade.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <title>成本审计汇总表</title>
  7. <meta name="description" content="">
  8. <meta name="keywords" content="">
  9. <link href="" rel="stylesheet" href="css/style.css">
  10. <style type="text/css">
  11. .heads_tr td{font-size:11pt;font-weight:700;line-height:26px;}
  12. body{
  13. font-family:font-family:Micosoft YaHei,simsun,WenQuanYi MicoHei;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div id="print">
  19. <table cellspacing="0" cellpadding="0" width="990" align="center">
  20. <tbody>
  21. <tr>
  22. <td colspan="4">
  23. <table cellspacing="0" cellpadding="0" width="900" align="center">
  24. <tbody>
  25. <tr>
  26. <td>
  27. <h2 class="orderTitle1"><center>街坊项目拆迁成本统计表</center></h2>
  28. </td>
  29. <td>
  30. <span style="float:right"><h2 class="orderTitle1"></h2></span>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. <table cellspacing="0" cellpadding="0" width="900" align="center">
  40. <tbody>
  41. <tr>
  42. <td width="79" align="right" valign="top"></td>
  43. <td width="185" valign="top"></td>
  44. <td colspan="2"></td>
  45. </tr>
  46. <tr>
  47. <td align="right" valign="top"></td>
  48. <td valign="top"> </td>
  49. <td align="right" valign="top"> 单位:㎡、元、套</td>
  50. </tr>
  51. </tbody>
  52. </table>
  53. <table id="page_one" border="1" cellspacing="0" cellpadding="0" width="990" align="center"
  54. class="t1" style="font-size:14px; margin-top:15px;">
  55. <tbody>
  56. <tr class="heads_tr">
  57. @for($i=1;$i<12;$i++)
  58. <td width="90" align="center">{{ $i }}</td>
  59. @endfor
  60. </tr>
  61. <tr class="heads_tr">
  62. @foreach($th as $value)
  63. <td width="90" align="center">{{ $value }}</td>
  64. @endforeach
  65. </tr>
  66. @foreach($table[1] as $value)
  67. <tr>
  68. <td width="100" align="center">{{ $value->num }}</td>
  69. <td width="100" align="center">{{ $value->bzc_name }}</td>
  70. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  71. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  72. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  73. <td width="100" align="center"></td>
  74. <td width="100" align="center"></td>
  75. <td width="100" align="center"></td>
  76. <td width="100" align="center"></td>
  77. <td width="100" align="center"></td>
  78. <td width="100" align="center"></td>
  79. </tr>
  80. @endforeach
  81. @foreach($table[2] as $value)
  82. <tr>
  83. <td width="100" align="center">{{ $value->num }}</td>
  84. <td width="100" align="center">{{ $value->bzc_name }}</td>
  85. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  86. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  87. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  88. <td width="100" align="center"></td>
  89. <td width="100" align="center"></td>
  90. <td width="100" align="center"></td>
  91. <td width="100" align="center"></td>
  92. <td width="100" align="center"></td>
  93. <td width="100" align="center"></td>
  94. </tr>
  95. @endforeach
  96. @foreach($table[3] as $value)
  97. <tr>
  98. <td width="100" align="center">{{ $value->num }}</td>
  99. <td width="100" align="center">{{ $value->bzc_name }}</td>
  100. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  101. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  102. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  103. <td width="100" align="center"></td>
  104. <td width="100" align="center"></td>
  105. <td width="100" align="center"></td>
  106. <td width="100" align="center"></td>
  107. <td width="100" align="center"></td>
  108. <td width="100" align="center"></td>
  109. </tr>
  110. @endforeach
  111. @foreach($table[4] as $value)
  112. <tr>
  113. <td width="100" align="center">{{ $value->num }}</td>
  114. <td width="100" align="center">{{ $value->bzc_name }}</td>
  115. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  116. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  117. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  118. <td width="100" align="center"></td>
  119. <td width="100" align="center"></td>
  120. <td width="100" align="center"></td>
  121. <td width="100" align="center"></td>
  122. <td width="100" align="center"></td>
  123. <td width="100" align="center"></td>
  124. </tr>
  125. @endforeach
  126. @foreach($table[5] as $value)
  127. <tr>
  128. <td width="100" align="center">{{ $value->num }}</td>
  129. <td width="100" align="center">{{ $value->bzc_name }}</td>
  130. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  131. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  132. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  133. <td width="100" align="center"></td>
  134. <td width="100" align="center"></td>
  135. <td width="100" align="center"></td>
  136. <td width="100" align="center"></td>
  137. <td width="100" align="center"></td>
  138. <td width="100" align="center"></td>
  139. </tr>
  140. @endforeach
  141. @foreach($table[6] as $value)
  142. <tr>
  143. <td width="100" align="center">{{ $value->num }}</td>
  144. <td width="100" align="center">{{ $value->bzc_name }}</td>
  145. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  146. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  147. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  148. <td width="100" align="center"></td>
  149. <td width="100" align="center"></td>
  150. <td width="100" align="center"></td>
  151. <td width="100" align="center"></td>
  152. <td width="100" align="center"></td>
  153. <td width="100" align="center"></td>
  154. </tr>
  155. @endforeach
  156. @foreach($table[7] as $value)
  157. <tr>
  158. <td width="100" align="center">{{ $value->num }}</td>
  159. <td width="100" align="center">{{ $value->bzc_name }}</td>
  160. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  161. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  162. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  163. <td width="100" align="center">{{ $value->youzheng_area }}</td>
  164. <td width="100" align="center">{{ $value->wuzheng_area }}</td>
  165. <td width="100" align="center">{{ $value->fangbu }}</td>
  166. <td width="100" align="center"></td>
  167. <td width="100" align="center">{{ $value->tingyuan }}</td>
  168. <td width="100" align="center">{{ $value->zhuangxiu }}</td>
  169. </tr>
  170. @endforeach
  171. @foreach($table[8] as $value)
  172. <tr>
  173. <td width="100" align="center">{{ $value->num }}</td>
  174. <td width="100" align="center">{{ $value->bzc_name }}</td>
  175. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  176. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  177. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  178. <td width="100" align="center">{{ $value->youzheng_area }}</td>
  179. <td width="100" align="center">{{ $value->wuzheng_area }}</td>
  180. <td width="100" align="center">{{ $value->fangbu }}</td>
  181. <td width="100" align="center"></td>
  182. <td width="100" align="center">{{ $value->tingyuan }}</td>
  183. <td width="100" align="center">{{ $value->zhuangxiu }}</td>
  184. </tr>
  185. @endforeach
  186. @foreach($table[9] as $value)
  187. <tr>
  188. <td width="100" align="center">{{ $value->num }}</td>
  189. <td width="100" align="center">{{ $value->bzc_name }}</td>
  190. <td width="100" align="center">{{ $value->bzc_addr }}</td>
  191. <td width="100" align="center">{{ $value->bzc_cardid }}</td>
  192. <td width="100" align="center">{{ $value->bzc_tel }}</td>
  193. <td width="100" align="center"></td>
  194. <td width="100" align="center"></td>
  195. <td width="100" align="center">{{ $value->fangbu }}</td>
  196. <td width="100" align="center"></td>
  197. <td width="100" align="center">{{ $value->kongyuan }}</td>
  198. <td width="100" align="center"></td>
  199. </tr>
  200. @endforeach
  201. </tbody>
  202. </table>
  203. {{--===================================================================================================================================================================--}}
  204. <table id="page_two" border="1" cellspacing="0" cellpadding="0" width="990" align="center" class="t1" style="font-size:14px; margin-top:15px;">
  205. <tbody>
  206. <tr class="heads_tr">
  207. @for($k=12;$k<23;$k++)
  208. <td width="90" align="center">{{ $k }}</td>
  209. @endfor
  210. </tr>
  211. <tr class="heads_tr">
  212. @foreach($th1 as $value)
  213. <td width="90" align="center">{{$value}}</td>
  214. @endforeach
  215. </tr>
  216. @foreach($table[1] as $value)
  217. <tr>
  218. <td width="100" align="center"></td>
  219. <td width="100" align="center"></td>
  220. <td width="100" align="center"></td>
  221. <td width="100" align="center"></td>
  222. <td width="100" align="center"></td>
  223. <td width="100" align="center"></td>
  224. <td width="100" align="center"></td>
  225. <td width="100" align="center"></td>
  226. <td width="100" align="center"></td>
  227. <td width="100" align="center">{{ $value->total_money }}</td>
  228. <td width="100" align="center"></td>
  229. </tr>
  230. @endforeach
  231. @foreach($table[2] as $value)
  232. <tr>
  233. <td width="100" align="center"></td>
  234. <td width="100" align="center"></td>
  235. <td width="100" align="center"></td>
  236. <td width="100" align="center"></td>
  237. <td width="100" align="center"></td>
  238. <td width="100" align="center"></td>
  239. <td width="100" align="center"></td>
  240. <td width="100" align="center">{{ $value->chaichuje }}</td>
  241. <td width="100" align="center"></td>
  242. <td width="100" align="center"></td>
  243. <td width="100" align="center"></td>
  244. </tr>
  245. @endforeach
  246. @foreach($table[3] as $value)
  247. <tr>
  248. <td width="100" align="center"></td>
  249. <td width="100" align="center"></td>
  250. <td width="100" align="center">{{ $value->linshibu }}</td>
  251. <td width="100" align="center">{{ $value->banqianbu }}</td>
  252. <td width="100" align="center"></td>
  253. <td width="100" align="center"></td>
  254. <td width="100" align="center"></td>
  255. <td width="100" align="center"></td>
  256. <td width="100" align="center">{{ $value->canbu }}</td>
  257. <td width="100" align="center">{{ $value->total }}</td>
  258. <td width="100" align="center"></td>
  259. </tr>
  260. @endforeach
  261. @foreach($table[4] as $value)
  262. <tr>
  263. <td width="100" align="center"></td>
  264. <td width="100" align="center"></td>
  265. <td width="100" align="center"></td>
  266. <td width="100" align="center"></td>
  267. <td width="100" align="center"></td>
  268. <td width="100" align="center">{{ $value->quanj }}</td>
  269. <td width="100" align="center">{{ $value->chaj }}</td>
  270. <td width="100" align="center"></td>
  271. <td width="100" align="center"></td>
  272. <td width="100" align="center">{{ $value->zongj }}</td>
  273. <td width="100" align="center"></td>
  274. </tr>
  275. @endforeach
  276. @foreach($table[5] as $value)
  277. <tr>
  278. <td width="100" align="center"></td>
  279. <td width="100" align="center"></td>
  280. <td width="100" align="center"></td>
  281. <td width="100" align="center"></td>
  282. <td width="100" align="center"></td>
  283. <td width="100" align="center"></td>
  284. <td width="100" align="center"></td>
  285. <td width="100" align="center"></td>
  286. <td width="100" align="center"></td>
  287. <td width="100" align="center">{{ $value->yuqij }}</td>
  288. <td width="100" align="center"></td>
  289. </tr>
  290. @endforeach
  291. @foreach($table[6] as $value)
  292. <tr>
  293. <td width="100" align="center"></td>
  294. <td width="100" align="center"></td>
  295. <td width="100" align="center">{{ $value->anzhi }}</td>
  296. <td width="100" align="center">{{ $value->banqian }}</td>
  297. <td width="100" align="center">{{ $value->dibu }}</td>
  298. <td width="100" align="center"></td>
  299. <td width="100" align="center"></td>
  300. <td width="100" align="center"></td>
  301. <td width="100" align="center">{{ $value->other }}</td>
  302. <td width="100" align="center">{{ $value->total }}</td>
  303. <td width="100" align="center"></td>
  304. </tr>
  305. @endforeach
  306. @foreach($table[7] as $value)
  307. <tr>
  308. <td width="100" align="center">{{ $value->gouzhu }}</td>
  309. <td width="100" align="center">{{ $value->tingchan }}</td>
  310. <td width="100" align="center"></td>
  311. <td width="100" align="center"></td>
  312. <td width="100" align="center"></td>
  313. <td width="100" align="center"></td>
  314. <td width="100" align="center"></td>
  315. <td width="100" align="center"></td>
  316. <td width="100" align="center"></td>
  317. <td width="100" align="center">{{ $value->chaiqian }}</td>
  318. <td width="100" align="center"></td>
  319. </tr>
  320. @endforeach
  321. @foreach($table[8] as $value)
  322. <tr>
  323. <td width="100" align="center">{{ $value->gouzhu }}</td>
  324. <td width="100" align="center">{{ $value->tingchan }}</td>
  325. <td width="100" align="center"></td>
  326. <td width="100" align="center"></td>
  327. <td width="100" align="center"></td>
  328. <td width="100" align="center"></td>
  329. <td width="100" align="center"></td>
  330. <td width="100" align="center"></td>
  331. <td width="100" align="center"></td>
  332. <td width="100" align="center">{{ $value->chaiqian }}</td>
  333. <td width="100" align="center">{{ $value->hours }}</td>
  334. </tr>
  335. @endforeach
  336. @foreach($table[9] as $value)
  337. <tr>
  338. <td width="100" align="center">{{ $value->gouzhu }}</td>
  339. <td width="100" align="center">{{ $value->tingye }}</td>
  340. <td width="100" align="center"></td>
  341. <td width="100" align="center"></td>
  342. <td width="100" align="center"></td>
  343. <td width="100" align="center"></td>
  344. <td width="100" align="center"></td>
  345. <td width="100" align="center"></td>
  346. <td width="100" align="center">{{ $value->other }}</td>
  347. <td width="100" align="center">{{ $value->chaiqian }}</td>
  348. <td width="100" align="center"></td>
  349. </tr>
  350. @endforeach
  351. </tbody>
  352. </table>
  353. {{--===================================================================================================================================================================--}}
  354. <table id="page_three" border="1" cellspacing="0" cellpadding="0" width="990" align="center" class="t1" style="font-size:14px; margin-top:15px;">
  355. <tbody>
  356. <tr class="heads_tr">
  357. @for($j=23;$j<32;$j++)
  358. <td width="90" align="center">{{ $j }}</td>
  359. @endfor
  360. </tr>
  361. <tr class="heads_tr">
  362. @foreach($th2 as $value)
  363. <td width="90" align="center">{{ $value }}</td>
  364. @endforeach
  365. </tr>
  366. @foreach($table[1] as $value)
  367. <tr>
  368. <td width="100" align="center"></td>
  369. <td width="100" align="center"></td>
  370. <td width="100" align="center"></td>
  371. <td width="100" align="center"></td>
  372. <td width="100" align="center">{{ $value->money_home_jchae }}</td>
  373. <td width="100" align="center">{{ $value->money_home_tchae }}</td>
  374. <td width="100" align="center">{{ $value->created_at }}</td>
  375. <td width="100" align="center"></td>
  376. <td width="100" align="center">{{ $value->sub_description }}</td>
  377. </tr>
  378. @endforeach
  379. @foreach($table[2] as $value)
  380. <tr>
  381. <td width="100" align="center"></td>
  382. <td width="100" align="center"></td>
  383. <td width="100" align="center"></td>
  384. <td width="100" align="center"></td>
  385. <td width="100" align="center"> </td>
  386. <td width="100" align="center"> </td>
  387. <td width="100" align="center">{{ $value->created_at }}</td>
  388. <td width="100" align="center"></td>
  389. <td width="100" align="center">{{ $value->sub_description }}</td>
  390. </tr>
  391. @endforeach
  392. @foreach($table[3] as $value)
  393. <tr>
  394. <td width="100" align="center"></td>
  395. <td width="100" align="center"></td>
  396. <td width="100" align="center"></td>
  397. <td width="100" align="center"></td>
  398. <td width="100" align="center"></td>
  399. <td width="100" align="center"></td>
  400. <td width="100" align="center">{{ $value->created_at }}</td>
  401. <td width="100" align="center"></td>
  402. <td width="100" align="center">{{ $value->sub_description }}</td>
  403. </tr>
  404. @endforeach
  405. @foreach($table[4] as $value)
  406. <tr>
  407. <td width="100" align="center"></td>
  408. <td width="100" align="center"></td>
  409. <td width="100" align="center"></td>
  410. <td width="100" align="center"></td>
  411. <td width="100" align="center"></td>
  412. <td width="100" align="center"></td>
  413. <td width="100" align="center">{{ $value->created_at }}</td>
  414. <td width="100" align="center"></td>
  415. <td width="100" align="center">{{ $value->sub_description }}</td>
  416. </tr>
  417. @endforeach
  418. @foreach($table[5] as $value)
  419. <tr>
  420. <td width="100" align="center"></td>
  421. <td width="100" align="center"></td>
  422. <td width="100" align="center"></td>
  423. <td width="100" align="center"></td>
  424. <td width="100" align="center"></td>
  425. <td width="100" align="center"></td>
  426. <td width="100" align="center">{{ $value->created_at }}</td>
  427. <td width="100" align="center"></td>
  428. <td width="100" align="center">{{ $value->sub_description }}</td>
  429. </tr>
  430. @endforeach
  431. @foreach($table[6] as $value)
  432. <tr>
  433. <td width="100" align="center"></td>
  434. <td width="100" align="center"></td>
  435. <td width="100" align="center"></td>
  436. <td width="100" align="center"></td>
  437. <td width="100" align="center"></td>
  438. <td width="100" align="center"></td>
  439. <td width="100" align="center">{{ $value->created_at }}</td>
  440. <td width="100" align="center"></td>
  441. <td width="100" align="center">{{ $value->sub_description }}</td>
  442. </tr>
  443. @endforeach
  444. @foreach($table[7] as $value)
  445. <tr>
  446. <td width="100" align="center"></td>
  447. <td width="100" align="center"></td>
  448. <td width="100" align="center"></td>
  449. <td width="100" align="center"></td>
  450. <td width="100" align="center"></td>
  451. <td width="100" align="center"></td>
  452. <td width="100" align="center">{{ $value->created_at }}</td>
  453. <td width="100" align="center"></td>
  454. <td width="100" align="center">{{ $value->sub_description }}</td>
  455. </tr>
  456. @endforeach
  457. @foreach($table[8] as $value)
  458. <tr>
  459. <td width="100" align="center">{{ $value->huiqian_area }}</td>
  460. <td width="100" align="center">{{ $value->huiqian_home_area }}</td>
  461. <td width="100" align="center">{{ $value->huiqian_shang_area }}</td>
  462. <td width="100" align="center">{{ $value->huiqian }}</td>
  463. <td width="100" align="center">{{ $value->yingjiao }}</td>
  464. <td width="100" align="center">{{ $value->yingtui }}</td>
  465. <td width="100" align="center">{{ $value->created_at }}</td>
  466. <td width="100" align="center"></td>
  467. <td width="100" align="center">{{ $value->sub_description }}</td>
  468. </tr>
  469. @endforeach
  470. @foreach($table[9] as $value)
  471. <tr>
  472. <td width="100" align="center"></td>
  473. <td width="100" align="center"></td>
  474. <td width="100" align="center"></td>
  475. <td width="100" align="center"></td>
  476. <td width="100" align="center"></td>
  477. <td width="100" align="center"></td>
  478. <td width="100" align="center">{{ $value->created_at }}</td>
  479. <td width="100" align="center"></td>
  480. <td width="100" align="center">{{ $value->sub_description }}</td>
  481. </tr>
  482. @endforeach
  483. </tbody>
  484. </table>
  485. </div>
  486. <div align="center" class="btn">
  487. <input class="print_button" type="button" id="datasubmit" value="确认打印" name="submit" onclick="printed('print')">
  488. </div>
  489. <style>
  490. .btn{
  491. margin-top:15px;
  492. }
  493. .print_button{height:40px;background:#369 none repeat scroll 0 0;border:2px solid #efefef;border-radius:5px;width:100px;color:#fff;font-size:13px;font-weight:700;}
  494. </style>
  495. <script type="text/javascript">
  496. var rootel=document.documentElement; //XHTMlvar bto=document.getElementById('divTest');
  497. function printed(printpage)
  498. {
  499. var headstr = "<html><head><title></title></head><body>";
  500. var footstr = "</body>";
  501. var newstr = document.all.item(printpage).innerHTML;
  502. var oldstr = document.body.innerHTML;
  503. document.body.innerHTML = headstr+newstr+footstr;
  504. window.print();
  505. document.body.innerHTML = oldstr;
  506. return false;
  507. }
  508. </script>
  509. </body>
  510. </html>