applylist.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <extend name="$_admin_public_layout"/>
  2. <block name="style">
  3. <link rel="stylesheet" href="__PUBLIC__/libs/layui/css/layui.css" media="all">
  4. </block>
  5. <block name="script">
  6. <script src="__PUBLIC__/libs/guide/bootstrap-tour.js"></script>
  7. <script src="__PUBLIC__/libs/guide/guide.js?_t=2016121401"></script>
  8. </block>
  9. <block name="main">
  10. <fieldset name="meta_title" class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  11. <legend>{$meta_title}</legend>
  12. </fieldset>
  13. <div class="builder-table">
  14. <!-- 列表 -->
  15. <table class="layui-table">
  16. <colgroup>
  17. <col width="150">
  18. <col width="200">
  19. <col>
  20. </colgroup>
  21. <thead>
  22. <tr>
  23. <th>序号</th>
  24. <th id="batch_list_name">批次编号</th>
  25. <th>下达日期</th>
  26. <th>产品名称/盒型/码源数量</th>
  27. <th id="caozuo">操作</th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. <volist name="bach_list" id="v">
  32. <tr>
  33. <td>{$v.bach_id}</td>
  34. <td>
  35. <if condition="$v.bach_id gt 0 "><a href="{:U('ApplyBatch/tasklist',array('bach_id'=>$v['bach_id']))}">{$v.bach_name}</a>
  36. <else />...
  37. </if>
  38. </td>
  39. <td>{$v.add_time|date="Y-m-d H:i:s",###}</td>
  40. <td>
  41. <volist name="task_list2" id="value">
  42. <if condition="$v['bach_id'] eq $value['bach_id']">
  43. {$value.product_name}/{$value.box_type_name}/{$value.quality}万个&nbsp;&nbsp;&nbsp;
  44. </if>
  45. </volist>
  46. </td>
  47. <td>
  48. <if condition="$v.bach_id gt 0 "><a href="{:U('ApplyBatch/tasklist',array('bach_id'=>$v['bach_id']))}">详情</a>
  49. <else />...
  50. </if>
  51. </td>
  52. </tr>
  53. </volist>
  54. </tbody>
  55. </table>
  56. <notempty name="bach_page">
  57. <ul class="pagination">{$task_page}</ul>
  58. </notempty>
  59. </div>
  60. <script src="__PUBLIC__/libs/layui/layui.js"></script>
  61. <script src="__PUBLIC__/libs/jquery/2.x/jquery.js"></script>
  62. <script>
  63. layui.use('form', function(){
  64. var form = layui.form;
  65. });
  66. </script>
  67. </block>