1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @extends('admin.public.base')
- @section('body_class')
- style="margin: 0 auto;width: 96%;padding: 30px 0px;"
- @endsection
- @section('content')
- <form action="" method="get" class="form-horizontal form-line">
- <div class="form-group col col-lg-2 col-md-2 col-sm-2 col-xs-12" style="margin-right: 2px;">
- <input type="text" class="form-control" name="order_code" value="{{request('order_code','')}}" maxlength="13" placeholder="请输入订单编号查询" />
- </div>
- <div class="form-group col col-lg-2 col-md-2 col-sm-2 col-xs-12" style="margin-right: 2px;">
- <input type="text" class="form-control" name="product_id" value="{{request('product_id','')}}" placeholder="请输入产品编码查询" />
- </div>
- <div class="form-group col col-lg-2 col-md-2 col-sm-2 col-xs-12" style="margin-right: 2px;">
- <input type="text" class="form-control" name="name" value="{{request('name','')}}" placeholder="请输入产品名称查询" />
- </div>
- <div class="form-group col col-lg-2 col-md-2 col-sm-2 col-xs-12" style="margin-right: 2px;">
- <select name="status" class="form-control">
- <option value="" >订单状态</option>
- <option value="0" @if ( request('status') === '0' ) selected="selected" @endif >进行中</option>
- <option value="1" @if ( request('status') === '1' ) selected="selected" @endif >已完结</option>
- </select>
- </div>
- <div class="form-group col col-lg-2 col-md-2 col-sm-2 col-xs-12" style="margin-right: 2px;">
- <input type="text" class="form-control" name="start_time" value="{{request('start_time','')}}" placeholder="请输入开始时间查询" />
- </div>
- <div class="form-group col col-lg-2 col-md-2 col-sm-2 col-xs-12" style="margin-right: 2px;">
- <input type="text" class="form-control" name="end_time" value="{{request('end_time','')}}" placeholder="请输入结束时间查询" />
- </div>
- <input type="submit" class="btn btn-sm btn-primary" value="查询"/>
- <a href="{{url('admin/orders/index')}}" class="btn btn-sm btn-default" >重置</a>
- </form>
- <div class="row">
- <div class="col-xs-12">
- <div class="table-responsive">
- <table class="table table-striped table-bordered table-hover">
- <thead>
- <tr>
- <th>订单编号</th>
- <th>产品编码</th>
- <th>下单用户</th>
- <th>产品名称</th>
- <th>产品数量</th>
- <th>成交积分</th>
- <th>收货人</th>
- <th>联系方式</th>
- <th>收货地址</th>
- <th>订单状态</th>
- <th>下单时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($list as $a)
- <tr>
- <td>{{$a['is_rebate']?'【赠品】':''}}{{$a['order_code']}}</td>
- <td>{{$a['product_code']}}</td>
- <td>{{$a['custom_code']}}</td>
- <td>{{$a['product_name']}}</td>
- <td>{{$a['buy_num']}}</td>
- <td>{{$a['score_total']}} 积分</td>
- <td>{{$a['contact_name']}}</td>
- <td>{{$a['contact_phone']}}</td>
- <td>{{$a['contact_province']}}/{{$a['contact_city']}}/{{$a['contact_area']}}/{{$a['contact_addr']}} {{$a['contact_shop']}}</td>
- <td>{{$a['state']}}</td>
- <td>{{date('Y-m-d H:i:s',$a['insert_time']??0)}}</td>
- <td>
-
- </td>
- </tr>
- @endforeach
- <tr>
- <td colspan="20" class="page">{{$list->render()}}</td>
- </tr>
- <tr>
- <td colspan="20">总计 {{$list->total()}} 个 积分订单</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- @endsection
|