| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <extend name="$_admin_public_layout"/>
- <block name="style">
- <link rel="stylesheet" href="__PUBLIC__/libs/layui/css/layui.css" media="all">
- </block>
- <block name="script">
- <script src="__PUBLIC__/libs/guide/bootstrap-tour.js"></script>
- <script src="__PUBLIC__/libs/guide/guide.js?_t=2016121401"></script>
- </block>
- <block name="main">
- <fieldset name="meta_title" class="layui-elem-field layui-field-title" style="margin-top: 20px;">
- <legend>{$meta_title}</legend>
- </fieldset>
- <div class="builder-table">
- <!-- 列表 -->
- <table class="layui-table">
- <colgroup>
- <col width="150">
- <col width="200">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th>序号</th>
- <th id="batch_list_name">批次编号</th>
- <th>下达日期</th>
- <th>产品名称/盒型/码源数量</th>
- <th id="caozuo">操作</th>
- </tr>
- </thead>
- <tbody>
- <volist name="bach_list" id="v">
- <tr>
- <td>{$v.bach_id}</td>
- <td>
- <if condition="$v.bach_id gt 0 "><a href="{:U('ApplyBatch/tasklist',array('bach_id'=>$v['bach_id']))}">{$v.bach_name}</a>
- <else />...
- </if>
- </td>
- <td>{$v.add_time|date="Y-m-d H:i:s",###}</td>
- <td>
- <volist name="task_list2" id="value">
- <if condition="$v['bach_id'] eq $value['bach_id']">
- {$value.product_name}/{$value.box_type_name}/{$value.quality}万个
- </if>
- </volist>
- </td>
- <td>
- <if condition="$v.bach_id gt 0 "><a href="{:U('ApplyBatch/tasklist',array('bach_id'=>$v['bach_id']))}">详情</a>
- <else />...
- </if>
- </td>
- </tr>
- </volist>
- </tbody>
- </table>
- <notempty name="bach_page">
- <ul class="pagination">{$task_page}</ul>
- </notempty>
- </div>
- <script src="__PUBLIC__/libs/layui/layui.js"></script>
- <script src="__PUBLIC__/libs/jquery/2.x/jquery.js"></script>
- <script>
- layui.use('form', function(){
- var form = layui.form;
- });
- </script>
- </block>
|