| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- @extends('layouts.base')
- @section('content')
- @section('title', trans('售后列表'))
- <div class="w1200 ">
- <div class=" rightlist ">
- <div class="clearfix">
- <div class="panel panel-info">
- <div class="panel-body">
- <div class="card">
- <div class="card-content">
- <h4 class="card-title">售后管理</h4>
- <form action="" method="get" class="form-horizontal" id="form1">
- @section('form')
- <input type="hidden" name="c" value="site"/>
- <input type="hidden" name="a" value="entry"/>
- <input type="hidden" name="m" value="yun_shop"/>
- <input type="hidden" name="do" value="order" id="form_do"/>
- <input type="hidden" name="route" value="{{$url}}" id="form_p"/>
- @show
- <div>
- @section('search_bar')
- <div class='form-group col-sm-4 col-lg-3 col-xs-12'>
- <input class="form-control" name="search[Ordersn]" type="text"
- value="{{array_get($requestSearch,'Ordersn','')}}"
- placeholder="订单号" id="string">
- </div>
- <div class='form-group col-sm-4 col-lg-3 col-xs-12'>
- <input class="form-control" name="search[goods_order_sn]" type="text"
- value="{{array_get($requestSearch,' goods_order_sn','')}}"
- placeholder="子订单号" id="string">
- </div>
- <div class="form-group form-group col-sm-8 col-lg-2 col-xs-12">
- <select name="search[refund_type]" class="form-control">
- <option value=""
- @if( array_get($requestSearch,'refund_type','')) selected="selected"@endif>
- 退款类型
- </option>
- <option value="1"
- @if( array_get($requestSearch,'refund_type','') == '1') selected="selected"@endif>
- 仅退款
- </option>
- <option value="2"
- @if( array_get($requestSearch,'refund_type','') == '2') selected="selected"@endif>
- 退款退货
- </option>
- </select>
- </div>
- {{--<div class="form-group form-group col-sm-8 col-lg-2 col-xs-12">--}}
- {{--<select name="search[processDes]" class="form-control">--}}
- {{--<option value=""--}}
- {{--@if( array_get($requestSearch,'processDes','')) selected="selected"@endif>--}}
- {{--事件状态--}}
- {{--</option>--}}
- {{--<option value="1"--}}
- {{--@if( array_get($requestSearch,'processDes','') == '1') selected="selected"@endif>--}}
- {{--未处理--}}
- {{--</option>--}}
- {{--<option value="2"--}}
- {{--@if( array_get($requestSearch,'processDes','') == '2') selected="selected"@endif>--}}
- {{--处理中--}}
- {{--</option>--}}
- {{--<option value="3"--}}
- {{--@if( array_get($requestSearch,'processDes','') == '3') selected="selected"@endif>--}}
- {{--已处理--}}
- {{--</option>--}}
- {{--<option value="4"--}}
- {{--@if( array_get($requestSearch,'processDes','') == '4') selected="selected"@endif>--}}
- {{--客服介入--}}
- {{--</option>--}}
- {{--</select>--}}
- {{--</div>--}}
- <div class="form-group col-sm-12 col-lg-12 col-xs-12"></div>
- {{-- <div class="col-sm-3">--}}
- {{-- <label class='radio-inline'>--}}
- {{-- <input type='checkbox' value='1' name='search[is_time]'--}}
- {{-- @if($search['is_time'] == '1') checked @endif> 申请时间--}}
- {{-- </label>--}}
- {{-- </div>--}}
- {{-- <div class="form-group col-sm-8 col-lg-5 col-xs-12">--}}
- {{-- {!!--}}
- {{-- app\common\helpers\DateRange::tplFormFieldDateRange('search[time_range]', [--}}
- {{-- 'starttime'=>array_get($requestSearch,'time_range.start',0),--}}
- {{-- 'endtime'=>array_get($requestSearch,'time_range.end',0),--}}
- {{-- 'start'=>0,--}}
- {{-- 'end'=>0--}}
- {{-- ], true)!!}--}}
- </div>
- @show
- </div>
- <div class="form-group">
- <div class="col-sm-7 col-lg-9 col-xs-12">
- <button class="btn btn-success"><i class="fa fa-search"></i> 搜索</button>
- <input type="hidden" name="token" value="{{$var['token']}}"/>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- <div class='panel panel-default'>
- <div class='panel-body table-responsive'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:8%;'>售后ID</th>
- <th style='width:20%;'>售后单号</th>
- <th style='width:20%;'>子订单号</th>
- <th style='width:10%;'>商品名称</th>
- <th style='width:15%;'>退款状态</th>
- <th style='width:15%;'>售后类型</th>
- <th style='width:12%;'>售后原因</th>
- <th style='width:15%;'>申请时间 </th>
- {{--<th style='width:10%;'>实际服务单最终结束时间</th>--}}
- {{--<th style='width:15%;'>处理结束时间</th>--}}
- <th style='width:10%;'>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td>{{$row['id']}}</td>
- <td>
- <a href="{!! yzWebUrl($detail_url,['order_sn'=>$row['refund_sn']])!!}">{{$row['refund_sn']}}</a>
- </td>
- <td>{{$row['goods_order_sn']}}</td>
- <td>{{$row['title']}}</td>
- <td>
- @if($row['status'] == 1)
- 待审核
- @elseif($row['status'] == 2)
- 待退货
- @elseif($row['status'] == 3)
- 待收货
- @elseif($row['status'] == -1)
- 关闭
- @else
- 已完成
- @endif
- </td>
- <td>
- @if($row['refund_type'] == 1)
- 仅退款
- @elseif($row['refund_type'] == 2)
- 退款退货
- @else
- 其他
- @endif
- </td>
- <td>
- @if($row['reason'] == 1)
- 协商一致退款
- @elseif($row['reason'] == 2)
- 质量问题
- @elseif($row['reason'] == 3)
- 物流问题
- @elseif($row['reason'] == 4)
- 假冒品牌
- @elseif($row['reason'] == 5)
- 少件/漏发/破损/污渍
- @elseif($row['reason'] == 6)
- 7天无理由
- @elseif($row['reason'] == 7)
- 拍错/多拍/不想要
- @else
- 其他
- @endif
- </td>
- <td>
- {{$row['created_time']}}
- </td>
- {{--<td>--}}
- {{--{{$row['handleTime']}}--}}
- {{--</td>--}}
- {{--<td>--}}
- {{--{{$row['taskEndtime']}}--}}
- {{--</td>--}}
- <td style="position:relative; overflow:visible;">
- <a href="{!! yzWebUrl($detail_refund,['refund_sn'=>$row['refund_sn']])!!}">查看详情</a>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="{{static_url('js/area/cascade_street.js')}}"></script>
- <script language='javascript'>
- $('.tdedit').mouseover(function () {
- $(this).find('.fa-pencil').show();
- }).mouseout(function () {
- $(this).find('.fa-pencil').hide();
- });
- $('.fa-edit-item').click(function () {
- var areaData = $(this).closest('span').find('span').html();
- var agentid = $(this).data('agentid');
- popwin = $('#modal-module-menus-notice').modal();
- $('.area-text').text(areaData);
- $('.area-agent-id').val(agentid);
- cascdeInit();
- });
- $('#submit').click(function () {
- var agentid = $('.area-agent-id').val();
- var provanceId = $('#sel-provance').val();
- var cityId = $('#sel-city').val();
- var districtId = $('#sel-area').val();
- var streetId = $('#sel-street').val();
- var obg = {
- province_id: provanceId,
- city_id: cityId,
- district_id: districtId,
- street_id: streetId
- };
- fastChange(agentid, obg);
- });
- function fastChange(id, value) {
- $.ajax({
- url: "{!! yzWebUrl('plugin.area-dividend.admin.agent.change') !!}",
- type: "post",
- data: {id: id, value: value},
- cache: false,
- success: function ($data) {
- //console.log($data);return;
- if ($data.result == 0) {
- confirm($data.msg);
- }
- location.reload();
- }
- })
- }
- $(function () {
- $('#export').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('plugin.area-dividend.admin.agent.export') !!}');
- $('#form1').submit();
- });
- $('#search').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('plugin.area-dividend.admin.agent') !!}');
- $('#form1').submit();
- });
- });
- </script>
- @endsection
|