detail.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. .form-group {
  5. padding: 10px 0px;
  6. }
  7. </style>
  8. <div class="row" xmlns="http://www.w3.org/1999/html">
  9. <div class="col-sm-12">
  10. <div class="ibox float-e-margins">
  11. <div class="ibox-title">
  12. <h5>资产领用详情</h5>
  13. <div class="ibox-tools">
  14. <a class="toback" href="{:url('index')}">
  15. 返回上一页
  16. </a>
  17. </div>
  18. </div>
  19. <div class="ibox-content">
  20. <div class="form-group">
  21. <label class="col-xs-12 control-label">单据编号:{$info['sn']} </label>
  22. </div>
  23. <div class="form-group">
  24. <label class="col-xs-12 control-label">登记时间:{$info['create_time']} </label>
  25. </div>
  26. <div class="form-group">
  27. <label class="col-xs-12 control-label">领用人员:{$info['userName']} </label>
  28. </div>
  29. <div class="form-group">
  30. <label class="col-xs-12 control-label"> 领用部门:{$info['depName']} </label>
  31. </div>
  32. <div class="form-group">
  33. <label class="col-xs-12 control-label"> 存放地点:{$info['address']} </label>
  34. </div>
  35. <div class="form-group">
  36. <label class="col-xs-12 control-label"> 资产用途:{$info['used']} </label>
  37. </div>
  38. <div class="form-group">
  39. <label class="col-sm-12 control-label"> 领用备注:{$info['remark']}</label>
  40. </div>
  41. {if !empty($info['items'])}
  42. <table class="table table-bordered table-striped">
  43. <tr>
  44. <th>序号</th>
  45. <th>资产编号</th>
  46. <th>资产名称</th>
  47. <th>规格型号</th>
  48. <th>单位</th>
  49. <th>数量</th>
  50. <th>原值</th>
  51. <th>购置日期</th>
  52. </tr>
  53. {if $info['items']}
  54. {foreach $info['items'] as $k=>$v}
  55. <tr>
  56. <td>{$k+1}</td>
  57. <td>{$v.sn}</td>
  58. <td>{$v.title}</td>
  59. <td>{$v.spec}</td>
  60. <td>{$v.unitName}</td>
  61. <td>{$v.nums}</td>
  62. <td>{$v.price}</td>
  63. <td>{$v.buy_time}</td>
  64. </tr>
  65. {/foreach}
  66. {/if}
  67. <tr style="text-align: center">
  68. <td colspan="8">数量合计: {$info.countNums} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 原值合计: {$info.total}</td>
  69. </tr>
  70. </table>
  71. {/if}
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. {/block}
  77. {block name="script"}
  78. {/block}