@extends('layouts.father') @section('style') @endsection @section('title', '售后单列表') @section('body')
| 序号 | 售后单编号 | 加盟商 | {{--下单门店 | --}}产品名称 | 规格 | 数量 | 计量单位 | 退款金额(¥) | 收款金额(¥) | 状态 | 关联单据 | 售后原因 | 创建时间 | 确认时间 | 操作 |
|---|
| {{$key}} | {{$a->after_num}} | {{$client[$a->shop] or ''}} | {{--{{$a->shop}} | --}}{{$a->name}} | {{$a->size}} | {{$a->num}} | {{$a->unit}} | {{$a->money}} | {{$a->get_money}} | {{$a->status}} | {{$a->relevance}} | {{$a->reason}} | {{date('Y-m-d',strtotime($a->created_at))}} | {{ strtotime($a->affirm_time) ? date('Y-m-d',strtotime($a->affirm_time)) : '' }} |
@if($a->status == '未执行')
@if($a->type == '补偿出库')
创建出库单
@elseif($a->type == '退货入库')
创建入库单
@elseif($a->type == '可出可入')
创建入库单
创建出库单
@else
请先填写类型
@endif
创建生产单
@else
@if($a->type == '补偿出库')
创建出库单
@elseif($a->type == '退货入库')
创建入库单
@elseif($a->type == '可出可入')
创建入库单
创建出库单
@else
请先填写类型
@endif
创建生产单
@endif
|
| 序号 | 售后单编号 | 加盟商 | {{--下单门店 | --}}退款金额(¥) | 收款金额(¥) | 状态 | 下游执行状态 | 备注 | 关联单据 | 售后原因 | 创建时间 | 确认时间 | 操作 |
|---|
| {{$key}} | {{$a->after_num}} | {{$client[$a->shop] or ''}} | {{--{{$a->shop}} | --}}{{$a->money}} | {{$a->get_money}} | {{$a->status}} | {{$a->vouch_status}} | {{str_limit($a->remark, 12,'...')}} | {{$a->relevance}} | {{$a->reason}} | {{date('Y-m-d',strtotime($a->created_at))}} | {{ strtotime($a->affirm_time) ? date('Y-m-d',strtotime($a->affirm_time)) : '' }} |
@if($a->status == '未执行')
@if($a->type == '补偿出库')
创建出库单
@elseif($a->type == '退货入库')
创建入库单
@elseif($a->type == '先入后出' || $a->type == '可出可入')
创建入库单
创建出库单
@else
请先填写类型
@endif
创建生产单
创建应收款单
@else
@if($a->type == '补偿出库')
创建出库单{{isset($out[$a->after_num])?"(".$out[$a->after_num].")":''}}
@elseif($a->type == '退货入库')
创建入库单{{isset($vouch[$a->after_num])?"(".$vouch[$a->after_num].")":''}}
@elseif($a->type == '先入后出' && $a->vcnt == '0')
创建入库单
创建出库单
@elseif($a->type == '先入后出' && $a->vcnt != '0')
创建入库单
创建出库单
@elseif($a->type == '可出可入')
创建入库单
创建出库单
@else
请先填写类型
@endif
创建应收款单
{{--创建收款单 --}}
创建生产单
@endif
|