index_4.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <style>
  2. table {
  3. /*letter-spacing: 1px;*/
  4. width: 100%;
  5. border-collapse: collapse;
  6. table-layout: fixed;
  7. }
  8. td {
  9. text-align: left;
  10. }
  11. .content {
  12. border: 1px solid black;
  13. }
  14. .with-30{
  15. width:30%;
  16. }
  17. .with-20{
  18. width:20%;
  19. }
  20. .with-50{
  21. width:50%;
  22. }
  23. .with-70{
  24. width:70%;
  25. }
  26. .align-center {
  27. text-align: center;
  28. }
  29. .font-size-14{
  30. font-size: 14pt;
  31. }
  32. </style>
  33. <div class="align-center font-size-14">{$get_module_list[$vo.module]|default='--'}审批单</div>
  34. <table cellpadding="6">
  35. <tr>
  36. <td class="with-30">{$vo.subject|default='--'}</td>
  37. <td class="with-70">&nbsp;&nbsp;创建时间:{$vo.apply_date|default='--'}</td>
  38. <td></td>
  39. </tr>
  40. </table>
  41. <table cellpadding="8">
  42. <tr>
  43. <td class="content with-30">审批编号</td>
  44. <td class="content with-70">{$vo.order_no|default='--'}</td>
  45. </tr>
  46. <tr>
  47. <td class="content">审批状态</td>
  48. <td class="content">{$get_approve_status_list[$vo.status]|default='--'}</td>
  49. </tr>
  50. <tr>
  51. <td class="content">创建人</td>
  52. <td class="content">{$vo.create_user.name|default='--'}</td>
  53. </tr>
  54. <tr>
  55. <td class="content">创建人部门</td>
  56. <td class="content">{foreach $vo.department_data as $k=>$v} {$v.name}&nbsp;{/foreach}</td>
  57. </tr>
  58. <tr>
  59. <td class="content">物品用途</td>
  60. <td class="content">{$vo.reason|default='--'}</td>
  61. </tr>
  62. <tr>
  63. <td class="content">附件</td>
  64. <td class="content">{notempty name='vo.module_info.document_text'}{foreach $vo.module_info.document_text as $k=>$v} {$v.name}<br/>{/foreach}{/notempty}</td>
  65. </tr>
  66. <tr>
  67. <td class="content">其它补充说明</td>
  68. <td class="content">{$vo.module_info.remark|default='--'}</td>
  69. </tr>
  70. </table>
  71. {notempty name='vo.data'}
  72. <table cellpadding="8">
  73. <tr>
  74. <td class="content with-30"></td>
  75. <td class="content with-20">商品名称</td>
  76. <td class="content with-50">商品规格、数量</td>
  77. </tr>
  78. {foreach $vo.data as $k=>$v}
  79. <tr>
  80. {if ($k eq 0)}<td class="content with-30" rowspan="{:count($vo.data)}">领用明细</td>{/if}
  81. <td class="content with-20">{$v.goods_name}</td>
  82. <td class="content with-50">
  83. {notempty name='v.goods_stock_text'}
  84. {foreach name="v.goods_stock_text" item="vv"}规格:{$vv.name|default='--'} 数量:{$vv.stock|default='--'}<br/>{/foreach}
  85. {/notempty}
  86. </td>
  87. </tr>
  88. {/foreach}
  89. </table>
  90. {/notempty}
  91. {include file='common/index_approve'}