details.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {extend name="public/container"}
  2. {block name="content"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox">
  6. <div class="ibox-content">
  7. <!-- <div class="row">-->
  8. <!-- <div class="m-b m-l">-->
  9. <!-- </div>-->
  10. <!---->
  11. <!-- </div>-->
  12. <div class="table-responsive">
  13. <table class="table table-striped table-bordered">
  14. <thead>
  15. <tr>
  16. <!-- <th class="text-center">编号</th>-->
  17. <th class="text-center">名称</th>
  18. <th class="text-center">分类</th>
  19. <th class="text-center">编号</th>
  20. <th class="text-center">规格</th>
  21. <th class="text-center">数量</th>
  22. <th class="text-center">单价</th>
  23. <th class="text-center">总价</th>
  24. <th class="text-center">重量</th>
  25. <th class="text-center">分类</th>
  26. <th class="text-center">单位</th>
  27. </tr>
  28. </thead>
  29. <tbody class="">
  30. {volist name="list" id="vo"}
  31. <tr>
  32. <!-- <td class="text-center">-->
  33. <!-- {$vo.id}-->
  34. <!-- </td>-->
  35. <td class="text-center">
  36. {$vo.title}
  37. </td>
  38. <td class="text-center">
  39. {$vo.name}
  40. </td>
  41. <td class="text-center">
  42. {$vo.code}
  43. </td>
  44. <td class="text-center">
  45. {$vo.specifications}
  46. </td>
  47. <td class="text-center">
  48. {$vo.number}
  49. </td>
  50. <td class="text-center">
  51. {$vo.unit_price}
  52. </td>
  53. <td class="text-center">
  54. {$vo.ot_price}
  55. </td>
  56. <td class="text-center">
  57. {$vo.weight}
  58. </td>
  59. <td class="text-center">
  60. {if condition="$vo['type'] eq 1"}
  61. 顶板
  62. {elseif condition="$vo['type'] eq 2"/}
  63. 侧板
  64. {elseif condition="$vo['type'] eq 3"/}
  65. 拉筋
  66. {elseif condition="$vo['type'] eq 4"/}
  67. 底板
  68. {elseif condition="$vo['type'] eq 5"/}
  69. 立柱
  70. {elseif condition="$vo['type'] eq 6"/}
  71. 辅拉
  72. {elseif condition="$vo['type'] eq 7"/}
  73. 保温
  74. {elseif condition="$vo['type'] eq 8"/}
  75. 槽钢
  76. {elseif condition="$vo['type'] eq 9"/}
  77. 扶梯管
  78. {else/}
  79. 错误分类
  80. {/if}
  81. </td>
  82. <td class="text-center">
  83. {$vo.company}
  84. </td>
  85. </tr>
  86. {/volist}
  87. </tbody>
  88. </table>
  89. </div>
  90. {include file="public/inner_page"}
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. {/block}