@extends('layouts.father') @section('title', '订单详情') @section('style') @endsection @section('body')
首页 销售管理 订单详情
外链 上一页 下一页
{{csrf_field()}} @if($order->money_affirm == '未确认') 财务确认 撤销确认 @if($order->supplier == '加盟商') 清空明细并导入商品 @endif @if($order->supplier == '加盟商' && ($order->shenhe == '未审核')) 清空明细并导入窗帘 @endif 编辑订单 @elseif($order->money_affirm == '已确认') 财务确认 @if($order->force == 1) 撤销确认 @else 撤销确认 @endif @if($order->force == 1) 强制完成 撤销完成 @else 强制完成 撤销完成 @endif 编辑订单 @endif {{--@if($order->pay_time != '')--}} {{----}} {{--撤销提交支付--}} {{----}} {{--@elseif($order->pay_time == '')--}} {{----}} {{--提交支付--}} {{----}} {{--@endif--}}
订单信息 @if($order->creater)(客服:{{ $order->creater }})@endif
订单编号 下单时间 供货方 最小超期天数 财务确认状态 运费 贴牌总价 出厂总价 销售总价 支付截图 提交支付时间 快递 最小发货超期天数
{{$order->order_number}} {{$order->order_time}} {{$order->supplier}} @if($order->pay_time) {{$order->paytime_people}} @else 提交支付 @endif @if($order->force == 1) @elseif($order->money_affirm != '未确认' && $order->period != '0') {{ \App\Http\Models\Order::getPeriod($order->affirm_time,$order->period) }} @else 0 @endif {{$order->money_affirm}} {{ $order->freight }} {{$order->tp_money}} {{$order->unit_money}} {{$order->money}} @if($order->pay_pic) @endif {{ $order->pay_time }} {{ isset($order->express_type) && $order->express_type == '到付' ? '到付' : '寄付' }} @if($order->force == 1) @elseif($order->money_affirm != '未确认' && $order->delivery != '0') {{ \App\Http\Models\Order::getPeriod($order->affirm_time,$order->delivery) }} @else 0 @endif
在线支付金额 在线支付流水号 付款银行 付款流水号 确认序列号 上传文件 发货方式(可变更) 打印门店 打印业主 管理备注 其他项 原订单
{{$order->online_money}} {{$order->transaction_id}} {{$order->bank}} {{$order->serial_number}} {{$order->affirm_num}} @if($order->file) @endif
门店信息@if($order->send == 1 )  发至门店@endif
下单门店 门店联系人 门店区域 门店地址 联系方式
{{$order->order_shop}} {{$shop->people}} {{$shop->city}} {{$shop->address}} {{$shop->phone}}
收货人信息@if($order->send != 1)  发至业主@endif
收货人 地区 收货地址 联系方式 备注
{{$order->people}} {{$order->address}} {{$order->address_detail}} {{$order->mobelphone}}
@if(isset($orderinfo_list[0])) @endif @if(isset($orderinfo_list[1])) @endif @if(isset($orderinfo_list[2])) @endif @if(isset($orderinfo_list[3])) @endif @if(isset($orderinfo_list[4])) @endif @if(isset($orderinfo_list[5])) @endif @if(isset($orderinfo_list[6])) @endif @if(isset($orderinfo_list[7])) @endif @if(isset($orderinfo_list[8])) @endif @if(isset($orderinfo_list[9])) @endif @if(isset($orderinfo_list[10])) @endif @if(isset($orderinfo_list[11])) @endif @if(isset($orderinfo_list[12])) @endif @if(isset($orderinfo_list[13])) @endif @if(isset($orderinfo_list[14])) @endif @if(isset($orderinfo_list[15])) @endif @if(isset($orderinfo_list[16])) @endif @if(isset($orderinfo_list[20])) @endif @if(isset($orderinfo_list[17])) @endif @if(isset($orderinfo_list[18])) @endif @if(isset($orderinfo_list[19])) @endif @php $unit_price = $sale_price = $unit_discount_price = $sale_discount_price = $tp_discount_price = $goods_count = $no_out = $no_send = $freight = $jisuan = 0 @endphp @foreach($goodsorder as $k=>$g) @if(isset($orderinfo_list[0])) @endif @if(isset($orderinfo_list[1])) @endif @if(isset($orderinfo_list[2])) @endif @if(isset($orderinfo_list[3])) @endif @if(isset($orderinfo_list[4])) @endif @if(isset($orderinfo_list[5])) @endif @if(isset($orderinfo_list[6])) @endif @if(isset($orderinfo_list[7])) @endif @if(isset($orderinfo_list[8])) @endif @if(isset($orderinfo_list[9])) @endif @if(isset($orderinfo_list[10])) @endif @if(isset($orderinfo_list[11])) @endif @if(isset($orderinfo_list[12])) @endif @if(isset($orderinfo_list[13])) {{----}} @endif @if(isset($orderinfo_list[14])) @endif @if(isset($orderinfo_list[15])) @endif @if(isset($orderinfo_list[16])) @endif @if(isset($orderinfo_list[20])) @endif @if(isset($orderinfo_list[17])) @endif @if(isset($orderinfo_list[18])) @endif @if(isset($orderinfo_list[19])) @endif @php $unit_price += round($g->unit_price * $g->goods_count,2); $sale_price += round($g->sale_price * $g->goods_count,2); $freight += round($g->freight * $g->jisuan * $g->goods_count,2); $unit_discount_price += round($g->unit_discount_price * $g->goods_count,2); $sale_discount_price += round($g->sale_discount_price * $g->goods_count,2); $tp_discount_price += round($g->tp_discount_price * $g->goods_count,2); $goods_count += $g->goods_count; $no_out += $g->no_out; $no_send += $g->no_send @endphp @endforeach @if(isset($orderinfo_list[0])) @endif @if(isset($orderinfo_list[1])) @endif @if(isset($orderinfo_list[2])) @endif @if(isset($orderinfo_list[3])) @endif @if(isset($orderinfo_list[4])) @endif @if(isset($orderinfo_list[5])) @endif @if(isset($orderinfo_list[6])) @endif @if(isset($orderinfo_list[7])) @endif @if(isset($orderinfo_list[8])) @endif @if(isset($orderinfo_list[9])) @endif @if(isset($orderinfo_list[10])) @endif @if(isset($orderinfo_list[11])) @endif @if(isset($orderinfo_list[12])) @endif @if(isset($orderinfo_list[13])) @endif @if(isset($orderinfo_list[14])) @endif @if(isset($orderinfo_list[15])) @endif @if(isset($orderinfo_list[16])) @endif @if(isset($orderinfo_list[17])) @endif
产品明细 @if($order->money_affirm == '已确认')
手动排单
@endif
物料清单结构查询
定制标记
取消定制标记
按数量打印工程卡
加急标记
取消加急标记
导出明细
打印标签
小条打印
切换栏目
tpx
tpy
转前型号
{{--
加急标记
--}} {{--物料清单结构查询--}}
选择序号货号产品名称规格配料工艺出厂差价 贴牌差价数量单位未出库数超期天数未发货数超期发货天数活动名称运费参数标记附图优惠出厂单价贴牌价额外费用出厂价额外费用实出价贴牌价未装箱数 备注 打印链接
{{$k+1}} {{$g->goods_name}}{{$g->goods_normtype}}{{$wlArr[$g->id] or ''}} {{$gyArr[$g->id] or ''}}{{$g->gy_price}} {{$g->gytp_price}}{{$g->goods_count}}{{$g->unit}}{{$g->no_out}} @if($order->force == 1 && $g->no_out != '0' && $g->no_out != '') @elseif($order->money_affirm != '未确认' && $g->period != '0' && $g->period != '' && $g->no_out != '0' && $g->no_out != '') {{ \App\Http\Models\Order::getPeriod($order->affirm_time,$g->period) }} @elseif($g->no_out == '0' ) {{ $g->overday }} @else @endif {{$g->no_send}} @if($order->force == 1 && $g->no_send != '0') @elseif($order->money_affirm != '未确认' && $g->period != '0' && $g->period != '' && $g->no_send != '0') {{ \App\Http\Models\Order::getPeriod($order->affirm_time,$g->period) }} @elseif($g->no_send == '0' ) {{ $g->oversend }} @else @endif {{$g->activity}}{{$g->jisuan}}{{$g->freight}}@if($g->print == 1)@endif @if($order->supplier == '加盟商') @endif @if($g->pic) pic : '' }}" data-title="附图" target="view_window"> @endif {{$g->unit_price}} {{$g->otherinfo_tp}} {{$g->otherinfo_unit}}{{$g->unit_discount_price}}{{$g->tp_discount_price}}@if($g->no_packing < 0) 0 @else {{$g->no_packing}} @endif {{str_limit($g->mx_remark,10)}} {{$g->print_link}}
合计 {{$goods_count}}{{$no_out}}{{$no_send}}{{$freight}}{{$unit_price}} @if($order->unit_money != ''){{ $order->express_type == '寄付' || $order->express_type == null ? $unit_discount_price + $order->freight : $unit_discount_price }}@endif (含运费:{{ $order->express_type == '寄付' || $order->express_type == null ? $order->freight : '0' }} ) @if($order->unit_money != ''){{ $order->express_type == '寄付' || $order->express_type == null ? $tp_discount_price + $order->freight : $tp_discount_price }}@endif (含运费:{{ $order->express_type == '寄付' || $order->express_type == null ? $order->freight : '0' }} ) @if($order->unit_money != ''){{ $order->express_type == '寄付' || $order->express_type == null ? $unit_discount_price + $order->freight : $unit_discount_price }}@endif (含运费:{{ $order->express_type == '寄付' || $order->express_type == null ? $order->freight : '0' }} )
@if($order->money_affirm == '已确认') 打印订单指令 @foreach($ware as $w) {{----}} @endforeach @endif @if(!empty($out)) @foreach($out as $k=>$o) @endforeach @endif
出库单 打印单据
选择 序号 出库单编号 关联单据 出库类型 仓库 状态 出库时间
{{$k+1}} {{$o->out_num}} {{$o->id}} {{$o->relevance}} {{$o->out_type}} {{$o->warehouse}} {{$o->status}} {{$o->out_time}}
@if(!empty($receipt)) @foreach($receipt as $k=>$o) @endforeach @endif
应收款单
序号 应收款单号 应收总额 剩余应收 状态
{{$k+1}} {{$o->rec_num}} {{$o->rec_money}} {{$o->act_money}} {{$o->status}}
@if(!empty($pro)) @foreach($pro as $k=>$o) @endforeach @endif
生产单
序号 生产单编号 关联单据 成品入库状态 状态 确认时间
{{$k+1}} {{$o->pro_num}} {{$o->relevance}} {{$o->pro_status}} {{$o->status}} {{$o->affirm_time}}
@if(!empty($pur)) @foreach($pur as $k=>$o) @endforeach @endif
采购单
序号 采购单编号 关联单据 类型 状态 确认时间
{{$k+1}} {{$o->purchase_num}} {{$o->relevance}} {{$o->purchase_type}} {{$o->status}} {{$o->affirm_time}}
{{-- @if(!empty($pur)) @foreach($pur as $k=>$o) @endforeach @endif
采购单
序号 采购单编号 关联单据 类型 状态 确认时间
{{$k+1}} {{$o->purchase_num}} {{$o->relevance}} {{$o->purchase_type}} {{$o->status}} {{$o->affirm_time}}
--}} @if(!empty($packing)) @foreach($packing as $k=>$o) @endforeach @endif
装箱单
序号 装箱单编号 关联单据 创建时间
{{$k+1}} {{$o->packing_num}} {{$o->relevance}} {{$o->created_at}}
@if(!empty($after)) @foreach($after as $k=>$o) @endforeach @endif
售后单
序号 售后单编号 关联单据 售后类型 状态 确认时间
{{$k+1}} {{$o->after_num}} {{$o->relevance}} {{$o->type}} {{$o->status}} {{$o->affirm_time}}
@if(!empty($prepurchase)) @foreach($prepurchase as $k=>$o) @endforeach @endif
申购单
序号 申购单编号 关联单据 申购原因 状态 审核时间
{{$k+1}} {{$o->prepurchase_num}} {{$o->relevance}} {{$o->remark}} {{$o->status}} {{$o->affirm_time}}
@if(!empty($outsource)) @foreach($outsource as $k=>$o) @endforeach @endif
委外单
序号 委外单编号 关联单据 备注 状态 审核时间
{{$k+1}} {{$o->outsource_num}} {{$o->relevance}} {{$o->remark}} {{$o->status}} {{$o->affirm_time}}
@endsection