| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- @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[order_sn]" type="text"
- value="{{$search['order_sn']}}" placeholder="提现单号">
- </div>
- <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-2 col-md-2 col-lg-2">
- <div class="">
- <select name="search[status]" class="form-control">
- <option value="">提现状态</option>
- <option value="0" @if (isset($search['status']) && $search['status'] == 0) selected @endif >处理中</option>
- <option value="1" @if ($search['status'] == 1) selected @endif>成功</option>
- <option value="-1" @if ($search['status'] == -1) selected @endif>失败</option>
- </select>
- </div>
- </div>
- <div class="form-group col-xs-12 col-sm-8">
- <div class="col-sm-2">
- <label class='radio-inline'>
- <input type='checkbox' value='1' name='search[is_time]'
- @if($search['is_time'] == '1') checked @endif>时间搜索
- </label>
- </div>
- {!! app\common\helpers\DateRange::tplFormFieldDateRange('search[time]', [
- 'starttime'=>$search['time']['start'],
- 'endtime'=>$search['time']['end'],
- 'start'=>$search['time']['start'],
- 'end'=>$search['time']['end']
- ], true) !!}
- </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:8%;text-align: center;'>提现单号</th>
- <th style='width:8%;text-align: center;'>请求号</th>
- <th style='width:3%;text-align: center;'>会员</th>
- <th style='width:4%;text-align: center;'>提现金额(元)</th>
- <th style='width:4%;text-align: center;'>状态</th>
- <th style='width:8%;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;">{{$row->withdraw_sn}}</td>
- <td style="text-align: center;">{{$row->merchantOrderNo}}</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->paidAmount}}</td>
- <td style="text-align: center;">{{$row->status_name}}</td>
- <td style="white-space: normal;word-break:break-all">{{$row->desc}}</td>
- <td style="text-align: center;overflow:visible;">
- @if ($row->status == '0')
- <a title="跟新提现状态" class='btn btn-primary btn-sm' href="{{yzWebUrl('plugin.converge_pay.admin.withdraw.select-log',['id'=>$row['id']])}}"
- style="margin-bottom:5px;">查询跟新</a>
- @endif
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- <script language="javascript">
- $(function () {
- $('#export').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('plugin.converge_pay.admin.withdraw.export') !!}');
- $('#form1').submit();
- });
- $('#search').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('plugin.converge_pay.admin.withdraw.index') !!}');
- $('#form1').submit();
- });
- });
- </script>
- @endsection
|