detail.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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['way_name']} </label>
  34. </div>
  35. <div class="form-group">
  36. <label class="col-xs-12 control-label"> 处置结果:{$info['result']} </label>
  37. </div>
  38. <div class="form-group">
  39. <label class="col-xs-12 control-label"> 处置原因:{$info['reason']} </label>
  40. </div>
  41. <div class="form-group">
  42. <label class="col-sm-12 control-label"> 处置备注:{$info['remark']}</label>
  43. </div>
  44. {if !empty($info['items'])}
  45. <table class="table table-bordered table-striped">
  46. <tr>
  47. <th>序号</th>
  48. <th>资产编号</th>
  49. <th>资产名称</th>
  50. <th>规格型号</th>
  51. <th>单位</th>
  52. <th>原值</th>
  53. <th>退库前使用人员</th>
  54. <th>退库前使用部门</th>
  55. </tr>
  56. {if $info['items']}
  57. {foreach $info['items'] as $k=>$v}
  58. <tr>
  59. <td>{$k+1}</td>
  60. <td>{$v.sn}</td>
  61. <td>{$v.title}</td>
  62. <td>{$v.spec}</td>
  63. <td>{$v.unitName}</td>
  64. <td>{$v.price}</td>
  65. <td>{$v.userName}</td>
  66. <td>{$v.depName}</td>
  67. </tr>
  68. {/foreach}
  69. {/if}
  70. <tr style="text-align: center">
  71. <td colspan="8"> 合计: {$info.total}</td>
  72. </tr>
  73. </table>
  74. {/if}
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. {/block}
  80. {block name="script"}
  81. {/block}