detail.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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['agentUserName']} </label>
  28. </div>
  29. <div class="form-group">
  30. <label class="col-xs-12 control-label">经办部门:{$info.agentDepName} </label>
  31. </div>
  32. <div class="form-group">
  33. <label class="col-xs-12 control-label"> 退库部门:{$info['withDepName']} </label>
  34. </div>
  35. <div class="form-group">
  36. <label class="col-xs-12 control-label"> 存放地点:{$info['address']} </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. </tr>
  52. {if $info['items']}
  53. {foreach $info['items'] as $k=>$v}
  54. <tr>
  55. <td>{$k+1}</td>
  56. <td>{$v.sn}</td>
  57. <td>{$v.title}</td>
  58. <td>{$v.spec}</td>
  59. <td>{$v.unitName}</td>
  60. <td>{$v.userName}</td>
  61. <td>{$v.depName}</td>
  62. </tr>
  63. {/foreach}
  64. {/if}
  65. <tr style="text-align: center">
  66. <td colspan="8"> 合计: {$info.total}</td>
  67. </tr>
  68. </table>
  69. {/if}
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. {/block}
  75. {block name="script"}
  76. {/block}