@extends('admin/master') @section('content')
新增订单 @if($search_admin == 1) @endif
搜索 导出订单
@if($overtime && $self_role !='销售' && $self_role != '分销销售' && $self_role != '分销管理员') 超一天未发订单量:【{{$overtime['count']}}单】  订单ID:【 @foreach($overtime['list'] as $k=>$oid) @if($k == $overtime['count']-1) {{$oid}} @else {{$oid}}, @endif @endforeach 】 @endif @if($self_role !='销售' ) @endif @if($self_role =='销售' || $self_role =='分销销售' )@endif @if($result) @foreach($result as $a) @if($self_role =='销售' || $self_role =='分销销售' || ($self_role =='管理员' || $self_role =='分销管理员' && $a['status']>0) ) @else @endif @if($self_role !='销售' ) @if($self_role =='管理员' || $self_role =='分销管理员' && $a['status']>0) @else @endif @endif @if($self_role =='销售' || $self_role =='分销销售') @endif @if(($self_role =='销售' || $self_role =='管理员' || $self_role =='分销销售' ) && $a['status']>0) @else @endif @if($self_role =='超级管理员' || $self_role =='售后管理员') @else @endif @endforeach @endif
订单编号 卖家云订单编号 买家名称 收货人 收货人手机号 收货地址 商品信息 预发货时间 物流单号 发货时间货品成本 运费成本发货仓库 付款金额 付款方式 下单时间 加粉时间 是否复购 是否退补单 应该退补差价 退补付款方式 退补备注 退补时间 所属销售 订单状态 审核时间驳回原因买家备注 卖家备注 发货备注 售后费用 售后原因 售后时间 操作
{{$a['id']}} {{$a['orderCode']}} {{$a['customerName']}} {{$a['receiverName']}} {{$a['receiverMobile']}} {{$a['receiverState']}}{{$a['receiverCity']}}{{$a['receiverDistrict']}}{{$a['receiverStreet']}}{{$a['receiverAddress']}} @if( is_array($a['goods']) && $a['warehouse'] == 3) @foreach($a['goods'] as $good)

{{$good}}

@endforeach @else {{$a['goods_note']}} @endif
{{$a['delivery_date']}}{{$a['logistics_id']}}

{{$a['logistics_id']}}

{{$a['send_time']}}

{{$a['cost']}} {{$a['freight_cost']}}

{{$a['cost']}}

{{$a['freight_cost']}}

@if($a['warehouse']==1) A仓库 @elseif($a['warehouse']==2) B仓库 @elseif($a['warehouse']==3) C仓库 @else @endif {{$a['receivedAmount']}} {{$a['payment_type']}} {{$a['createTime']}} {{$a['fanTime']}} @if($a['is_fugou']==1) 是 @else 否 @endif @if($a['is_refund']==1) 是 @else 否 @endif

{{$a['refund_price']}}

{{$a['refund_type']}}

{{$a['refund_note']}}

{{$a['refund_time']}}

{{$a['admin_name']}} {{$a['status_name']}} {{$a['verify_time']}}@if($a['status'] == 0) {{$a['refuse_reason']}} @endif{{$a['buyerMemo']}} {{$a['sellerMemo']}} {{$a['send_note']}}

{{$a['buyerMemo']}}

{{$a['sellerMemo']}}

{{$a['send_note']}}

{{$a['aftersale_fee']}}

{{$a['aftersale_reason']}}

{{$a['aftersale_time']}}

{{$a['aftersale_fee']}} {{$a['aftersale_reason']}} {{$a['aftersale_time']}} @if($a['enable_status']) @foreach($a['enable_status'] as $item) @if($item['status'] == 0) 审核驳回 @elseif($item['status']==3) @else {{$item['name']}} @endif @endforeach @endif @if(($self_role =='销售' || $self_role =='分销销售') && $a['status']>0) @else @if($self_role !='超级管理员' && $self_role !='售后管理员' && $a['status']>1 || $a['status']==4) @else 编辑 @endif @if($a['status'] >= 3) @elseif($a['status'] == 2 && $self_role !='超级管理员' && $self_role !='售后管理员') @else 删除 @endif @endif @if($a['warehouse']==3 && $a['status']>=2 && $a['status']<4 && ($self_role=='超级管理员' || $self_role=='售后管理员')) 设为已退款 @endif @if($a['status'] == 4) 已退款订单 @endif
@endsection