info.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. table{
  5. width: 100%;
  6. }
  7. th,td{
  8. padding: 10px;
  9. }
  10. th{
  11. width: 120px;
  12. text-align: right;
  13. }
  14. .text {
  15. width: 200px;
  16. display: inline-block;
  17. }
  18. .num {
  19. margin-left: 20px;
  20. }
  21. </style>
  22. <div class="row">
  23. <div class="col-sm-12">
  24. <div class="panel panel-default">
  25. <div class="panel-heading clearfix">
  26. 打包详情
  27. </div>
  28. <div class="panel-body">
  29. <table class="table">
  30. <tr>
  31. <th>编号</th><td>{$info['sn']}</td>
  32. </tr>
  33. <tr>
  34. <th>收取人</th><td>{$info['real_name']}</td>
  35. </tr>
  36. <tr>
  37. <th>重量</th><td>{$info['weight']}/kg</td>
  38. </tr>
  39. <tr>
  40. <th>医废记录数</th><td>{$info['count']}</td>
  41. </tr>
  42. <tr>
  43. <th>状态</th>
  44. <td>
  45. {if $info['status'] == 0}待交接{/if}
  46. {if $info['status'] == 1}待转运{/if}
  47. {if $info['status'] == 2}已转运{/if}
  48. </td>
  49. </tr>
  50. <tr>
  51. <th>日期</th><td>{$info['create_time']}</td>
  52. </tr>
  53. </table>
  54. </div>
  55. </div>
  56. <div class="panel panel-default">
  57. <div class="panel-heading clearfix">
  58. 包内医废记录
  59. </div>
  60. <div class="panel-body">
  61. <table class="table table-bordered text-center">
  62. <tr>
  63. <th class="text-center">收取科室</th>
  64. <th class="text-center">称重序列号</th>
  65. <th class="text-center">类别</th>
  66. <th class="text-center">重量(kg)</th>
  67. <th class="text-center">收取时间</th>
  68. </tr>
  69. {foreach $record as $key => $value}
  70. <tr>
  71. <td>{$value['title']}</td>
  72. <td>{$value['serial_number']}</td>
  73. <td>
  74. {$value['cate_name']}
  75. </td>
  76. <td>{$value['weight']}/kg</td>
  77. <td>{$value['create_time']}</td>
  78. </tr>
  79. {/foreach}
  80. </table>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. {/block}
  86. {block name="script"}
  87. <script>
  88. </script>
  89. {/block}