| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- @extends('layouts.base')
- @section('content')
- @section('title', '支付订单列表')
- <div class="right-titpos">
- <ul class="add-snav">
- <li class="active"><a href="#">支付订单列表</a></li>
- </ul>
- </div>
- <div class='panel panel-default'>
- <form action="" method="post" class="form-horizontal" id="form1">
- <div class="panel panel-info">
- <div class="panel-body">
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[member_id]" type="text"
- value="{{$search['member_id']}}" placeholder="请输入会员ID">
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[member]" type="text"
- value="{{$search['member']}}" placeholder="请输入会员昵称/姓名/手机号">
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[pay_no]" type="text"
- value="{{$search['pay_no']}}" placeholder="支付号">
- </div>
- <div class="form-group col-xs-12 col-sm-2 col-md-2 col-lg-2">
- <div class="">
- <select name="search[order_status]" class="form-control">
- <option value="">订单状态</option>
- <option value="P1000" @if ($search['order_status'] == 'P1000') selected @endif >交易成功</option>
- <option value="P2000" @if ($search['order_status'] == 'P2000') selected @endif >交易失败</option>
- <option value="P3000" @if ($search['order_status'] == 'P3000') selected @endif >交易处理中</option>
- <option value="P4000" @if ($search['order_status'] == 'P4000') selected @endif >订单已取消</option>
- <option value="P5000" @if ($search['order_status'] == 'P5000') selected @endif >风控阻断</option>
- <option value="P6000" @if ($search['order_status'] == 'P6000') selected @endif >订单已关闭</option>
- </select>
- </div>
- </div>
- <div class="form-group col-xs-12 col-sm-7 col-lg-4">
- <div class="">
- <button type="button" id="search" class="btn btn-success "><i class="fa fa-search"></i>搜索</button>
- {{--<button type="button" id="export" class="btn btn-info">导出 Excel</button>--}}
- </div>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div class='panel panel-default'>
- <div class='panel panel-heading'>
- <!-- <a class="btn btn-info" style="color: white" href="#"></a> -->
- <span>总数:{{$list->total()}}</span>
- </div>
- <div class='panel panel-body'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:3%;text-align: center;'>ID</th>
- <th style='width:6%;text-align: center;'>时间</th>
- <th style='width:3%;text-align: center;'>会员</th>
- <th style='width:6%;text-align: center;'>支付号</th>
- <th style='width:8%;text-align: center;'>订单状态</th>
- <th style='width:4%;text-align: center;'>错误描述</th>
- {{--<th style='width:3%;text-align: center;'>操作</th>--}}
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td style="text-align: center;">{{$row->id}}</td>
- <td style="text-align: center;">{{$row->created_at}}</td>
- <td style="text-align: center;">
- <img src='{{$row->hasOneMember->avatar}}' style='width:30px;height:30px;padding:1px;border:1px solid #ccc' />
- <br/>
- <a href="{!! yzWebUrl('member.member.detail',['id' => $row->hasOneMember->uid])!!}">@if ($row->hasOneMember->nickname) {{$row->hasOneMember->nickname}} @else {{$row->hasOneMember->mobile}} @endif</a>
- </td>
- <td style="text-align: center;">{{$row->pay_no}}</td>
- <td style="text-align: center;">{{$row->order_status_name}}</td>
- <td style="text-align: center;">{{$row->err_msg}}</td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- <script language="javascript">
- $(function () {
- $('#export').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('plugin.converge_pay.admin.card-quick-pay.export') !!}');
- $('#form1').submit();
- });
- $('#search').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('plugin.converge_pay.admin.card-quick-pay.index') !!}');
- $('#form1').submit();
- });
- });
- </script>
- @endsection
|