| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <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;margin-bottom: 0;">
- <legend style="margin-bottom: 0;">{$meta_title}</legend>
- </fieldset>
- <div style="margin: 20px">
- <button class="layui-btn layui-btn-normal" id="return_task_button"><a style="text-decoration: none;" href="{:U('ApplyBatch/applylist')}">返回</a>
- </button>
- </div>
- <div class="builder-table">
- <!-- 列表 -->
- <table class="layui-table">
- <colgroup>
- <col width="150">
- <col width="200">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th>序号</th>
- <th>校验类型</th>
- <!--<th id="task_list_name">订单编号</th>-->
- <th>卷烟厂名称</th>
- <th>产品名称</th>
- <th>盒型</th>
- <th>数量(万张)</th>
- <th>印刷厂</th>
- <th>下达日期</th>
- <th>状态</th>
- <if condition="getUserGroup(session('user_auth.uid')) neq 3">
- <th>下载</th>
- </if>
- <th id="caozuo">操作</th>
- </tr>
- </thead>
- <tbody>
- <volist name="task_list" id="v">
- <tr>
- <td>{$v.task_id}</td>
- <td>
- <if condition="$v.is_verif eq 0 ">没有验证码
- <elseif condition="$v.is_verif eq 1 "/>
- 有验证码
- </if>
- </td>
- <td>{$v.factory_name}</td>
- <td>{$v.product_name}</td>
- <td>{$v.box_type_name}</td>
- <td>{$v.quality}</td>
- <td>{$v.printer_name}</td>
- <td>{$v.add_time|date="Y-m-d H:i:s",###}</td>
- <td>
- <switch name="v.status">
- <case value="0">码包生成中</case>
- <case value="1">待印刷厂下载</case>
- <case value="2">印刷厂校验中</case>
- <case value="3">码包校验完成</case>
- </switch>
- </td>
-
- <if condition="getUserGroup(session('user_auth.uid')) neq 3">
- <td>
- <if condition="$v.quality eq $v.checked_num and $v.wrong_num eq 0">
- <button class="layui-btn layui-btn-normal" id="download_button">
- <a style="text-decoration: none;color: white" href="{:U('ApplyBatch/downloadzip',array('bach_name'=>$v['task_name'].'_'.$v['task_id'],'printer_id'=>$v['printer_id']))}">码包下载</a>
- </button>
- </if>
- </td>
- </if>
- <td>
- <a href="{:U('ApplyBatch/taskdetail',array('task_id'=>$v['task_id']))}">详情</a>
- </td>
- </tr>
- </volist>
- </tbody>
- </table>
- <notempty name="task_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>
|