detail.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-content">
  7. <table class="table table-bordered">
  8. <tr>
  9. <th>编号</th><td>{$info['sn']}</td>
  10. </tr>
  11. <tr>
  12. <th>申请人</th><td>{$info['userName']}</td>
  13. </tr>
  14. <tr>
  15. <th>申请时间</th><td>{$info['create_time']}</td>
  16. </tr>
  17. <tr>
  18. <th>状态</th><td>
  19. {if $info['status'] == 0}
  20. 审核中
  21. {elseif($info['status'] == 1)}
  22. 同意
  23. {elseif($info['status'] == 2)}
  24. 拒绝
  25. {/if}
  26. </td>
  27. </tr>
  28. <tr>
  29. <th>审批人</th><td>{$info['approverName']}</td>
  30. </tr>
  31. <tr>
  32. <th>审批时间</th><td>{$info['approver_time']}</td>
  33. </tr>
  34. </table>
  35. {if !empty($info['goods'])}
  36. <table class="table table-bordered">
  37. <tr>
  38. <th>名称</th>
  39. <th>规格</th>
  40. <th>品牌</th>
  41. <th>单位</th>
  42. <th>采购数量</th>
  43. </tr>
  44. {foreach $info['goods'] as $k=>$v}
  45. <tr>
  46. <td>{$v['title']}</td>
  47. <td>{$v['spec']}</td>
  48. <td>{$v['brand']}</td>
  49. <td>{$v['unit']}</td>
  50. <td>{$v['nums']}</td>
  51. </tr>
  52. {/foreach}
  53. </table>
  54. {/if}
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. {/block}
  60. {block name="script"}
  61. {/block}