info.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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['order_id']}</td>-->
  10. <!--</tr>-->
  11. <tr>
  12. <th>使用人</th><td>{$info['userName']}</td>
  13. </tr>
  14. <tr>
  15. <th>类型</th><td>{$info['type']==1?'专项保洁':'工单'}</td>
  16. </tr>
  17. <tr>
  18. <th>时间</th><td>{$info['create_time']}</td>
  19. </tr>
  20. </table>
  21. {if !empty($info['goods'])}
  22. <table class="table table-bordered">
  23. <tr>
  24. <td style="width: 12.5%">名称</td>
  25. <td style="width: 12.5%">数量</td>
  26. <td style="width: 12.5%">单价</td>
  27. <td style="width: 12.5%">总价</td>
  28. <td style="width: 12.5%">使用人</td>
  29. </tr>
  30. {foreach $info['goods'] as $k=>$v}
  31. <tr>
  32. <td>{$v['title']}</td>
  33. <td>{$v['total']}</td>
  34. <td>{$v['money']}</td>
  35. <td>{$v['total_money']}</td>
  36. <td>{$v['realName']}</td>
  37. </tr>
  38. {/foreach}
  39. </table>
  40. {/if}
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. {/block}
  46. {block name="script"}
  47. {/block}