123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>快递鸟打印面单日志</title>
- </head>
- <body>
- <style>
- .layui-layer-content{line-height: 25px;}
- .s_red{color:red;}
- </style>
- <form action="{:U('order/kdn_print_log_list')}" method="post" id="export_form" class="form-horizontal form-search " role="form">
- <div class="layui-fluid">
- <div class="layui-row layui-col-space15">
- <div class="layui-col-md12">
- <div class="layui-card">
- <?php foreach( $log_list as $k=>$v ){ ?>
- <div class="layui-layer-content" style="color:red;">
- <?php if($v['status'] == 0){echo '面单打印中......';}else{echo '面单打印成功!';}?> (<?php echo date('Y-m-d H:i:s',$v['addtime']);?>)
- </div>
- <div class="layui-layer-content" style="margin-bottom: 10px;">
- <?php
- if($v['status'] == 0){
- echo "共计<span class='s_red'>".$v['print_count']."</span>个快递订单,此次打印面单数量为<span class='s_red'>".$v['print_count']."</span>个打印成功即为发货成功,订单状态自动修改为已发货";
- }else{
- if($v['fail_count'] == 0){
- echo "共计<span class='s_red'>".$v['print_count']."</span>个快递订单,<span class='s_red'>".$v['print_count']."</span>个快递订单面单打印成功自动发货成功,<span class='s_red'>".$v['fail_count']."</span>个面单打印失败";
- }else{
- echo "共计<span class='s_red'>".$v['print_count']."</span>个快递订单,<span class='s_red'>".$v['succ_count']."</span>个快递订单面单打印成功自动发货成功,<span class='s_red'>"
- .$v['fail_count']."</span>个面单打印失败,自动发货失败,请检查物流接口或订单详情是否出错,稍后重新打印即可";
- }
- }?>
- </div>
- <?php }?>
- <div class='layui-row'>
- <div class="layui-col-sm-12">
- <div class="modal-footer" style="text-align: right">
- <button type="button" class="btn btn-primary" id="confirm_kdn_btn" name="cancelsend" value="yes">确定</button>
- <button type="button" class="btn btn-default" id="cancel_btn">取消</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </form>
- <script type="text/javascript" src="/static/js/jquery-migrate-1.1.1.js"></script>
- <script src="/static/js/jquery-ui.min.js"></script>
- <script>
- $(function(){
- $('#confirm_kdn_btn').click(function(){
- layer.closeAll();
- location.reload();
- })
- $('#cancel_btn').click(function(){
- layer.closeAll();
- })
- })
- </script>
- </body>
- </html>
-
|