@extends('layouts.father') @section('style') @endsection @section('title', '') @section('body')
打印
宽
高
下移
修改
@foreach($datas as $k=>$d) @elseif($d['webname']=="创帘") 成品宽度:{{$d['zm']+$cpkd}}
@else 成品宽度:{{$d['zm']+$cpkd}}
@endif @endif
@if($d['webname']=="创帘"||$d['webname']=="百福门") {{round(($d['zm']+$cpkd)* 39.3701,0)}}英寸 @endif {{--窗宽:{{$d['ck']}}--}}
配料表
工艺顺序
@php $cjfs = ''; @endphp {{-- 工艺优先填下单,都为空则隐藏--}} @if(isset($d['goodsorder_gx']['cjfs']) && $d['goodsorder_gx']['cjfs'] != '') @php $cjfs = $d['goodsorder_gx']['cjfs']; @endphp
裁剪方式:{{$d['goodsorder_gx']['cjfs']}}
@elseif(isset($d['goodsorder_gx']['cjbz']) && $d['goodsorder_gx']['cjbz'] != '') @php $cjfs = $d['goodsorder_gx']['cjbz']; @endphp
裁剪标准:{{$d['goodsorder_gx']['cjbz']}}
@elseif(isset($d['enter_tech']['裁剪方式']) && $d['enter_tech']['裁剪方式'] != '') @php $cjfs = $d['enter_tech']['裁剪方式']; @endphp
裁剪方式:{{$d['enter_tech']['裁剪方式']}}
@elseif(isset($d['enter_tech']['裁剪标准']) && $d['enter_tech']['裁剪标准'] != '') @php $cjfs = $d['enter_tech']['裁剪标准']; @endphp
裁剪标准:{{$d['enter_tech']['裁剪标准']}}
@endif @php $cnt = -1; @endphp {{-- 用于裁剪计划--}} {{-- @php if(isset($d['cutting'])){--}} {{-- $data=$d['cutting'];--}} {{-- }@endphp--}} {{-- @php--}} {{-- $f = [];--}} {{-- @endphp--}} {{-- @if(isset($data) && $data)--}} {{-- @foreach($data as $k => $v)--}} {{-- @if(strpos($k, '主1幅数') === 0)--}} {{-- @php--}} {{-- // 将主1幅数的键值对放入$f数组--}} {{-- $f[$k] = $v;--}} {{-- @endphp--}} {{-- @elseif($k === '配布幅数')--}} {{-- @php--}} {{-- // 将配布幅数的键值对放入$f数组--}} {{-- $f[$k] = $v;--}} {{-- @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @endif--}} {{-- --}}{{-- 裁剪计划--}} {{--
--}} {{-- @if(isset($d['goodsorder_wl']['zb']) && ($d['goodsorder_wl']['zb'] == '无' || $d['goodsorder_wl']['zb'] == '无需'))--}} {{-- @else--}} {{-- @if(isset($d['goodsorder_wl']['zb']))--}} {{-- 主布{{++$cnt}}:{{explode(':',$d['goodsorder_wl']['zb'])[0]}}--}} {{-- @if(isset($d['wlzb_ck']) && !empty($d['wlzb_ck']))--}} {{-- // {{$d['wlzb_ck']}} @endif @if(isset($d['wlzb_jc']) && !empty($d['wlzb_jc']))--}} {{-- // {{$d['wlzb_jc']}} @endif--}} {{--
用料:--}} {{-- @if(isset($d['goodsorder_wl']['zbisedit']) && $d['goodsorder_wl']['zbisedit'] == 2)--}} {{-- {{ isset($d['主布用料']) && $d['主布用料'] > 0 ? $d['主布用料'] : '' }}--}} {{-- @else--}} {{-- {{explode(':',$d['goodsorder_wl']['zb'])[1]}}--}} {{-- @endif--}} {{-- @if($d['dpmfs'])--}} {{-- /门幅{{$d['dpmfs']}}--}} {{-- @endif--}} {{--
--}} {{-- @else--}} {{-- 主布{{++$cnt}}--}} {{-- :{{$d['xhs']['主布型号'] or ''}}@if(isset($d['xhs']['主布仓库']) && !empty($d['xhs']['主布仓库']))--}} {{-- // @else @endif @if(isset($d['xhs'])){{$d['xhs']['主布仓库']}}@else @endif @if(isset($d['xhs']['主布机参']) && !empty($d['xhs']['主布机参']))--}} {{-- // @else @endif @if(isset($d['xhs'])){{$d['xhs']['主布机参']}}@else @endif--}} {{--
--}} {{-- --}}{{--2024-06-11主布宽度用料--}} {{-- 用料:{{ isset($d['主布用料']) && $d['主布用料'] > 0 ? $d['主布用料'] : '' }}--}} {{--
--}} {{-- @if($d['dpmfs'])--}} {{-- /门幅{{$d['dpmfs']}}--}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @endif--}} {{-- @endif--}} {{-- @if($cjfs == '定宽裁高')--}} {{--
高度用料:--}} {{-- @if(isset($d['goodsorder_wl']['zb']) || isset($d['xhs']['主布型号']))--}} {{-- {{$d['lg']}}+{{$d['zbsh']}}={{$d['lg'] + $d['zbsh']}}--}} {{-- @endif--}} {{--
--}} {{-- @endif--}} {{--
--}} {{-- 裁剪计划--}} {{-- 裁剪计划--}}
@if(isset($d['goodsorder_wl']['zb']) && ($d['goodsorder_wl']['zb'] == '无' || $d['goodsorder_wl']['zb'] == '无需')) @else @if(isset($d['goodsorder_wl']['zb'])) 主布{{++$cnt}}:{{explode(':',$d['goodsorder_wl']['zb'])[0]}} @if(isset($d['wlzb_ck']) && !empty($d['wlzb_ck'])) // {{$d['wlzb_ck']}} @endif @if(isset($d['wlzb_jc']) && !empty($d['wlzb_jc'])) // {{$d['wlzb_jc']}} @endif @if($d['webname']=="音同")
宽度用料:{{($d['zm']+0.06)}}
@if($d['lg']=="1.37"||$d['lg']=="1.6"||$d['lg']=="1.83"||$d['lg']=="2.29"||$d['lg']=="2.44"||$d['lg']=="2.59"||$d['lg']=="1.82"||$d['lg']=="2.28"||$d['lg']=="2.43") 高度用料:{{($d['lg']+0.17)}} @elseif($d['lg']=="1.14"||$d['lg']=="2.13"||$d['lg']=="2.74") 高度用料:{{($d['lg']+0.18)}} @else 高度用料:{{($d['lg'])}} @endif
@elseif($d['webname']=="钱堂纺织")
宽度用料:{{($d['zm']+0.07)}}
高度用料:{{($d['lg']+0.10)}}
@elseif($d['webname']=="吴铁"&&($d['goods_name']=="双层纱-白色"||$d['goods_name']=="仿真丝-本白"))
宽度用料:{{($d['zm']+0.08)}}
高度用料:{{($d['lg']+0.04)}}
@elseif($d['webname']=="吴铁")
宽度用料:{{($d['zm']+0.04)}}
高度用料:{{($d['lg']+0.05)}}
@elseif($d['webname']=="绢帛")
宽度用料:{{($d['zm']+0.04)}}
高度用料:{{($d['lg']+0.20)}}
@elseif($d['webname']=="仁基")
宽度用料:{{($d['zm']+0.04)}}
高度用料:{{($d['lg']+0.12)}}
@elseif($d['webname']=="创帘")
宽度用料:{{($d['zm']+0.05)}}
高度用料:{{($d['lg']+0.08)}}
@elseif($d['webname']=="百福门")
宽度用料:{{($d['zm']+0.08)}}
高度用料:{{($d['lg']+0.16)}}
@else
宽度用料:{{($d['zm']+0.08)}}
高度用料:{{($d['lg']+0.10)}}
@endif @else 主布{{++$cnt}} :{{$d['xhs']['主布型号'] or ''}}@if(isset($d['xhs']['主布仓库']) && !empty($d['xhs']['主布仓库'])) // @else @endif @if(isset($d['xhs'])){{$d['xhs']['主布仓库']}}@else @endif @if(isset($d['xhs']['主布机参']) && !empty($d['xhs']['主布机参'])) // @else @endif @if(isset($d['xhs'])){{$d['xhs']['主布机参']}}@else @endif
@if($d['webname']=="音同") 宽度用料:{{($d['zm']+0.06)}}
@if($d['lg']=="1.37"||$d['lg']=="1.6"||$d['lg']=="1.83"||$d['lg']=="2.29"||$d['lg']=="2.44"||$d['lg']=="2.59"||$d['lg']=="1.82"||$d['lg']=="2.28"||$d['lg']=="2.43") 高度用料:{{($d['lg']+0.17)}} @elseif($d['lg']=="1.14"||$d['lg']=="2.13"||$d['lg']=="2.74") 高度用料:{{($d['lg']+0.18)}} @else 高度用料:{{($d['lg'])}} @endif @elseif($d['webname']=="钱堂纺织")
宽度用料:{{($d['zm']+0.07)}}
高度用料:{{($d['lg']+0.10)}}
@elseif($d['webname']=="吴铁"&&($d['goods_name']=="双层纱-白色"||$d['goods_name']=="仿真丝-本白"))
宽度用料:{{($d['zm']+0.08)}}
高度用料:{{($d['lg']+0.04)}}
@elseif($d['webname']=="吴铁")
宽度用料:{{($d['zm']+0.04)}}
高度用料:{{($d['lg']+0.05)}}
@elseif($d['webname']=="绢帛")
宽度用料:{{($d['zm']+0.04)}}
高度用料:{{($d['lg']+0.20)}}
@elseif($d['webname']=="创帘")
宽度用料:{{($d['zm']+0.05)}}
高度用料:{{($d['lg']+0.08)}}
@elseif($d['webname']=="仁基")
宽度用料:{{($d['zm']+0.04)}}
高度用料:{{($d['lg']+0.12)}}
@elseif($d['webname']=="百福门")
宽度用料:{{($d['zm']+0.08)}}
高度用料:{{($d['lg']+0.16)}}
@else {{--2024-06-11主布宽度用料--}} 宽度用料:{{($d['zm']+0.08)}}
高度用料:{{($d['lg']+0.10)}} @endif
@if($d['dpmfs']) /门幅{{$d['dpmfs']}} @endif
@endif @endif
{{-- @if(isset($data) && $data)--}} {{-- @php $zkuan = '' @endphp--}} {{-- @php $counter = 0 @endphp--}} {{-- @foreach($data as $k => $v)--}} {{-- @if(strpos($k, '主布') === 0 && strpos($k, '主布数') === false && strpos($k, '配布宽') === false && strpos($k, '主1高') === false && strpos($k, '配布高') === false)--}} {{-- @php--}} {{-- $zkuan .= ''.$v.'x'.$d['count'].str_repeat(' ', 2).'';--}} {{-- $counter++;--}} {{-- if ($counter == 3) {--}} {{-- $zkuan .= '
'; // 每三个内容包裹一个div容器--}} {{-- $counter = 0;--}} {{-- }--}} {{-- @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @php $zgao = '' @endphp--}} {{-- @foreach($data as $k => $v)--}} {{-- @if($k === '主1高')--}} {{-- @php $zgao .= ''.$v.' X'.$f['主1幅数'].''.str_repeat(' ', 3).'
' @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if($zkuan != '')--}} {{--
--}} {{-- 主布宽: {!! $zkuan !!}--}} {{--
--}} {{-- @endif--}} {{-- @if($zgao != '')--}} {{--
--}} {{-- 主布高: {!! $zgao !!}--}} {{--
--}} {{-- @endif--}} {{-- @endif--}} {{-- @if(isset($d['裁剪用料']))--}} {{-- @if($d['裁剪用料']['主宽详细'] != '')--}} {{--
--}} {{-- 主布宽: {!! str_replace(',', ' ', $d['裁剪用料']['主宽详细']) !!}--}} {{--
--}} {{-- @endif--}} {{-- @if($d['裁剪用料']['主高详细'] != '')--}} {{--
--}} {{-- 主布高: {!! $d['裁剪用料']['主高详细'] !!}--}} {{--
--}} {{-- @endif--}} {{-- @endif--}} {{-- 裁剪计划--}} @if(isset($d['xhs']['配一型号']) && ($d['xhs']['配一型号'] == '无' || $d['xhs']['配一型号'] == '无需')) @else @if(isset($d['xhs']['配一型号'])) @foreach ($d['xhs']['配一型号'] as $key => $vo )
@php $py = ""; @endphp @if(isset($d['goodsorder_wl']['py']) ) @php $py = explode(':',$d['goodsorder_wl']['py'])[0] @endphp 配一{{++$cnt}}:{{$py}} @if(isset($d['wlpy_ck']) && !empty($d['wlpy_ck'])) // {{$d['wlpy_ck']}} @endif @if(isset($d['wlpy_jc']) && !empty($d['wlpy_jc'])) // {{$d['wlpy_jc']}} @endif
宽度用料: @if($py != '') @if(isset($d['goodsorder_wl']['py'.'isedit']) && $d['goodsorder_wl']['py'.'isedit'] == 2) {{ isset($d['配布1用料']) && $d['配布1用料'] > 0 ? $d['配布1用料'] : '' }} @else {{explode(':',$d['goodsorder_wl']['py'])[1]}} @endif @endif
@else @php $py = isset($d['xhs']['配一型号'][$key]) ? $d['xhs']['配一型号'][$key] : '' @endphp 配一{{++$cnt}} :{{$py}}@if(isset($d['xhs']['配一仓库']) && !empty($d['xhs']['配一型号'][$key]) && !empty($d['xhs']['配一仓库'])) // @else @endif @if(isset($d['xhs']) && !empty($d['xhs']['配一型号'][$key])){{$d['xhs']['配一仓库']}}@else @endif @if(isset($d['xhs']['配一机参']) && !empty($d['xhs']['配一型号'][$key]) && !empty($d['xhs']['配一机参'])) // @else @endif @if(isset($d['xhs']) && !empty($d['xhs']['配一型号'][$key])){{$d['xhs']['配一机参']}}@else @endif
用料:{{ isset($d['配布1用料']) && $d['配布1用料'] > 0 ? $d['配布1用料'] : '' }}
@endif @if($cjfs == '定宽裁高' && $py != '')
高度用料: {{$d['lg']}}+{{$d['zbsh']}}={{$d['lg'] + $d['zbsh']}}
@endif
@endforeach @endif @endif {{-- 裁剪计划--}} {{-- @if(isset($data) && $data)--}} {{-- @php $zkuan = '' @endphp--}} {{-- @php $zgao = '' @endphp--}} {{-- @php $pkuan = '' @endphp--}} {{-- @php $pgao = '' @endphp--}} {{-- @foreach($data as $k => $v)--}} {{-- @if(strpos($k, '主布') === 0 && strpos($k, '主布数') === false && strpos($k, '配布宽') === false && strpos($k, '主1高') === false && strpos($k, '配布高') === false)--}} {{-- @php $zkuan .= $v.' x'.$d['count'].str_repeat(' ', 3.5) @endphp--}} {{-- @elseif($k === '主1高')--}} {{-- @php $zgao .= $v.' x'.$f['主1幅数'].str_repeat(' ', 3.5).'
' @endphp--}} {{-- @elseif($k === '配布宽')--}} {{-- @php $pkuan .= $v.' x'.$d['count'].str_repeat(' ', 3.5) @endphp--}} {{-- @elseif($k === '配布高')--}} {{-- @php $pgao .= $v.' X'.$f['配布幅数'].str_repeat(' ', 3).'
' @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if($pkuan != '')--}} {{--
--}} {{-- 配布宽:{!! $pkuan !!}
--}} {{--
--}} {{-- @endif--}} {{-- @if($pgao != '')--}} {{--
--}} {{-- 配布高:{!! $pgao !!}--}} {{--
--}} {{-- @endif--}} {{-- @endif--}} {{-- @if(isset($d['裁剪用料']))--}} {{-- @if($d['裁剪用料']['配宽详细'])--}} {{--
--}} {{-- 配布宽:{!! $d['裁剪用料']['配宽详细'] !!}
--}} {{--
--}} {{-- @endif--}} {{-- @if($d['裁剪用料']['配高详细'])--}} {{--
--}} {{-- 配布高:{!! $d['裁剪用料']['配高详细'] !!}--}} {{--
--}} {{-- @endif--}} {{-- @endif--}} {{-- 裁剪计划--}} @if(isset($d['xhs']['配二型号']) && ($d['xhs']['配二型号'] == '无' || $d['xhs']['配二型号'] == '无需')) @else @if(isset($d['xhs']['配二型号'])) @foreach ($d['xhs']['配二型号'] as $key => $vo )
@php $pe = ""; @endphp @if(isset($d['goodsorder_wl']['pe']) ) @php $pe = explode(':',$d['goodsorder_wl']['pe'])[0] @endphp 配二{{++$cnt}}:{{$pe}} @if(isset($d['wlpe_ck']) && !empty($d['wlpe_ck'])) // {{$d['wlpe_ck']}} @endif @if(isset($d['wlpe_jc']) && !empty($d['wlpe_jc'])) // {{$d['wlpe_jc']}} @endif
宽度用料: @if($pe != '') @if(isset($d['goodsorder_wl']['pe'.'isedit']) && $d['goodsorder_wl']['pe'.'isedit'] == 2) {{ isset($d['xhs']['配二用料']) && $d['xhs']['配二用料'] > 0 ? $d['xhs']['配二用料'] : '' }} @else {{explode(':',$d['goodsorder_wl']['pe'])[1]}} @endif @endif
@else @php $pe = isset($d['xhs']['配二型号'][$key]) ? $d['xhs']['配二型号'][$key] : '' @endphp 配二{{++$cnt}} :{{$pe}}@if(isset($d['xhs']['配二仓库']) && !empty($d['xhs']['配二型号'][$key]) && !empty($d['xhs']['配二仓库'])) // @else @endif @if(isset($d['xhs']) && !empty($d['xhs']['配二型号'][$key])){{$d['xhs']['配二仓库']}}@else @endif @if(isset($d['xhs']['配二机参']) && !empty($d['xhs']['配二型号'][$key]) && !empty($d['xhs']['配二机参'])) // @else @endif @if(isset($d['xhs']) && !empty($d['xhs']['配二型号'][$key])){{$d['xhs']['配二机参']}}@else @endif
宽度用料:{{ !empty($pe) && isset($d['xhs']['配二用料']) && $d['xhs']['配二用料'] > 0 ? $d['xhs']['配二用料'] : '' }}
@endif @if($cjfs == '定宽裁高' && $pe != '')
高度用料: {{$d['lg']}}+{{$d['zbsh']}}={{$d['lg'] + $d['zbsh']}}
@endif
@endforeach @endif @endif @if(isset($d['xhs']['衬布型号']) && ($d['xhs']['衬布型号'] == '无' || $d['xhs']['衬布型号'] == '无需')) @else @if(isset($d['xhs']['衬布型号'])) @foreach ($d['xhs']['衬布型号'] as $key => $vo ) @if($key == 0 && isset($d['goodsorder_wl']['cb']))
@if(isset($d['goodsorder_wl']['cb'])) 衬布{{++$cnt}} :{{explode(':',$d['goodsorder_wl']['cb'])[0]}} @if(isset($d['wlcb_ck'][$key]) && !empty($d['wlcb_ck'][$key])) // {{$d['wlcb_ck'][$key]}} @endif @if(isset($d['wlcb_jc'][$key]) && !empty($d['wlcb_jc'][$key])) // {{$d['wlcb_jc'][$key]}} @endif
宽度用料: @if(isset($d['goodsorder_wl']['cbisedit']) && $d['goodsorder_wl']['cbisedit'] == 2) {{ isset($d['xhs']['衬布用料'][$key]) && $d['xhs']['衬布用料'][$key] > 0 ? $d['xhs']['衬布用料'][$key] : '' }} @else {{explode(':',$d['goodsorder_wl']['cb'])[1]}} @endif
@else 衬布{{++$cnt}} :{{$d['xhs']['衬布型号'][$key] or ''}} @if(isset($d['xhs']['衬布仓库']) && !empty($d['xhs']['衬布仓库'])) // @else @endif @if(isset($d['xhs'])){{$d['xhs']['衬布仓库']}}@else @endif @if(isset($d['xhs']['衬布机参']) && !empty($d['xhs']['衬布机参'])) // @else @endif @if(isset($d['xhs'])){{$d['xhs']['衬布机参']}}@else @endif
宽度用料:{{ isset($d['xhs']['衬布用料'][$key]) && $d['xhs']['衬布用料'][$key] > 0 ? $d['xhs']['衬布用料'][$key] : '' }}
@endif @if($cjfs == '定宽裁高')
高度用料: @if(isset($d['goodsorder_wl']['cb']) || isset($d['xhs']['衬布型号'][$key])) {{$d['lg']}}+{{$d['zbsh']}}={{$d['lg'] + $d['zbsh']}} @endif
@endif
@else
@if(isset($d['goodsorder_wl']['cb'.($key+1)])) 衬布{{++$cnt}} :{{explode(':',$d['goodsorder_wl']['cb'.($key+1)])[0]}}
宽度用料: @if(isset($d['goodsorder_wl']['cb'.($key+1).'isedit']) && $d['goodsorder_wl']['cb'.($key+1).'isedit'] == 2) {{ isset($d['xhs']['衬布用料'][$key]) && $d['xhs']['衬布用料'][$key] > 0 ? $d['xhs']['衬布用料'][$key] : '' }} @else {{explode(':',$d['goodsorder_wl']['cb'.($key+1)])[1]}} @endif
@else 衬布{{++$cnt}}:{{$d['xhs']['衬布型号'][$key] or ''}}
宽度用料: {{ isset($d['xhs']['衬布用料'][$key]) && $d['xhs']['衬布用料'][$key] > 0 ? $d['xhs']['衬布用料'][$key] : '' }}
@endif @if($cjfs == '定宽裁高')
高度用料: @if(isset($d['goodsorder_wl']['cb'.($key+1)]) || isset($d['xhs']['衬布型号'][$key])) {{$d['lg']}}+{{$d['zbsh']}}={{$d['lg'] + $d['zbsh']}} @endif
@endif
@endif @endforeach @endif @endif @if(isset($d['xhs']['花边型号']) && ($d['xhs']['花边型号'] == '无' || $d['xhs']['花边型号'] == '无需')) @else @if(isset($d['xhs']['花边型号'])) @foreach ($d['xhs']['花边型号'] as $key => $vo ) @if($key == 0 && isset($d['goodsorder_wl']['hb']))
@if(isset($d['goodsorder_wl']['hb'])) @php $hbxh = isset(explode(':',$d['goodsorder_wl']['hb'])[0]) ? explode(':',$d['goodsorder_wl']['hb'])[0] : ''; @endphp 花边型号:{{$hbxh}} @if(isset($d['wlhb_ck'][$key]) && !empty($d['wlhb_ck'][$key])) // {{$d['wlhb_ck'][$key]}} @endif @if(isset($d['wlhb_jc'][$key]) && !empty($d['wlhb_jc'][$key])) // {{$d['wlhb_jc'][$key]}} @endif {{--花边 横拼 成品宽度+0.1;竖拼 成品高度+0.1--}}
花边用料: @if(isset($d['goodsorder_wl']['hbisedit']) && $d['goodsorder_wl']['hbisedit'] == 2) @if(isset($d['xhs']['花边型号'][$key]) && $d['xhs']['花边型号'][$key] != '') @if(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @endif @endif @else {{explode(':',$d['goodsorder_wl']['hb'])[1]}} {{--@if($hbxh != '') @if(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @endif @endif--}} @endif
@else 花边型号:{{$d['xhs']['花边型号'][$key] or ''}} @if(isset($d['xhs']['花边仓库']) && !empty($d['xhs']['花边仓库'])) // @else @endif @if(isset($d['xhs'])){{$d['xhs']['花边仓库']}}@else @endif @if(isset($d['xhs']['花边机参']) && !empty($d['xhs']['花边机参'])) // @else @endif @if(isset($d['xhs'])){{$d['xhs']['花边机参']}}@else @endif
花边用料: @if(isset($d['xhs']['花边型号'][$key]) && $d['xhs']['花边型号'][$key] != '') @if(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @endif @endif
@endif
@else
@if(isset($d['goodsorder_wl']['hb'.($key+1)])) @php $hbxh = isset(explode(':',$d['goodsorder_wl']['hb'.($key+1)])[0]) ? explode(':',$d['goodsorder_wl']['hb'.($key+1)])[0] : ''; @endphp 花边型号:{{$hbxh}} {{--花边 横拼 成品宽度+0.1;竖拼 成品高度+0.1--}}
花边用料: @if($hbxh != '') @if(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @endif @endif
@else 花边型号:{{$d['xhs']['花边型号'][$key] or ''}}
花边用料: @if(isset($d['xhs']['花边型号'][$key]) && $d['xhs']['花边型号'][$key] != '') @if(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['enter_tech']['拼接']) && str_contains($d['enter_tech']['拼接'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'横拼')) {{$d['zm']}}+0.1={{$d['zm'] + 0.1}} @elseif(isset($d['goodsorder_gx']['pj']) && str_contains($d['goodsorder_gx']['pj'],'竖拼')) {{$d['lg']}}+0.1={{$d['lg']+0.1}} @endif @endif
@endif
@endif @endforeach @endif @endif @if(isset($d['xhs']['花边一型号'])) @foreach ($d['xhs']['花边一型号'] as $key => $vo )
@php $hbyxh = isset($d['goodsorder_wl']['hby']) ? explode(':',$d['goodsorder_wl']['hby'])[0] : $vo[0]; @endphp 花边一型号:{{$hbyxh}}
@php $hbyyl = isset($d['goodsorder_wl']['hby']) ? explode(':',$d['goodsorder_wl']['hby'])[1] : $d['xhs']['花边一用料'][0]; @endphp 花边一用料:{{$hbyyl}}
@endforeach @endif @if(isset($d['xhs']['花边二型号'])) @foreach ($d['xhs']['花边二型号'] as $key => $vo )
@php $hbexh = isset($d['goodsorder_wl']['hbe']) ? explode(':',$d['goodsorder_wl']['hbe'])[0] : $vo[0]; @endphp 花边二型号:{{$hbexh}}
@php $hbeyl = isset($d['goodsorder_wl']['hbe']) ? explode(':',$d['goodsorder_wl']['hbe'])[1] : $d['xhs']['花边二用料'][0]; @endphp 花边二用料:{{$hbeyl}}
@endforeach @endif @if(isset($d['xhs']['花边三型号'])) @foreach ($d['xhs']['花边三型号'] as $key => $vo )
@php $hbsxh = isset($d['goodsorder_wl']['hbs']) ? explode(':',$d['goodsorder_wl']['hbs'])[0] : $vo[0]; @endphp 花边三型号:{{$hbsxh}}
@php $hbsyl = isset($d['goodsorder_wl']['hbs']) ? explode(':',$d['goodsorder_wl']['hbs'])[1] : $d['xhs']['花边三用料'][0]; @endphp 花边三用料:{{$hbsyl}}
@endforeach @endif @if(isset($d['xhs']['辅料一型号'])) @foreach ($d['xhs']['辅料一型号'] as $key => $vo )
@php $flyxh = isset($d['goodsorder_wl']['fly']) ? (explode(':',$d['goodsorder_wl']['fly'])[0]) : $vo; @endphp 辅料一型号:{{$flyxh}}
@php $flyyl = isset($d['goodsorder_wl']['fly']) ? explode(':',$d['goodsorder_wl']['fly'])[1] : $d['xhs']['辅料一用料'][0]; @endphp 辅料一用料:{{$flyyl}}
@endforeach @endif @if(isset($d['xhs']['辅料二型号'])) @foreach ($d['xhs']['辅料二型号'] as $key => $vo )
@php $flexh = isset($d['goodsorder_wl']['fle']) ? explode(':',$d['goodsorder_wl']['fle'])[0] : $vo; @endphp 辅料二型号:{{$flexh}}
@php $fleyl = isset($d['goodsorder_wl']['fle']) ? explode(':',$d['goodsorder_wl']['fle'])[1] : $d['xhs']['辅料二用料'][0]; @endphp 辅料二用料:{{$fleyl}}
@endforeach @endif @if(isset($d['xhs']['辅料三型号'])) @foreach ($d['xhs']['辅料三型号'] as $key => $vo )
@php $flsxh = isset($d['goodsorder_wl']['fls']) ? explode(':',$d['goodsorder_wl']['fls'])[0] : $vo; @endphp 辅料三型号:{{$flsxh}}
@php $flsyl = isset($d['goodsorder_wl']['fls']) ? explode(':',$d['goodsorder_wl']['fls'])[1] : $d['xhs']['辅料三用料'][0]; @endphp 辅料三用料:{{$flsyl}}
@endforeach @endif @if(isset($d['xhs']['骨线一型号'])) @foreach ($d['xhs']['骨线一型号'] as $key => $vo )
@php $gxyxh = isset($d['goodsorder_wl']['gxy']) ? explode(':',$d['goodsorder_wl']['gxy'])[0] : $vo; @endphp 骨线一型号:{{$gxyxh}}
@php $gxyyl = isset($d['goodsorder_wl']['gxy']) ? explode(':',$d['goodsorder_wl']['gxy'])[1] : $d['xhs']['骨线一用料'][0]; @endphp 骨线一用料:{{$gxyyl}}
@endforeach @endif @if(isset($d['xhs']['骨线二型号'])) @foreach ($d['xhs']['骨线二型号'] as $key => $vo )
@php $gxexh = isset($d['goodsorder_wl']['gxe']) ? explode(':',$d['goodsorder_wl']['gxe'])[0] : $vo; @endphp 骨线二型号:{{$gxexh}}
@php $gxeyl = isset($d['goodsorder_wl']['gxe']) ? explode(':',$d['goodsorder_wl']['gxe'])[1] : $d['xhs']['骨线二用料'][0]; @endphp 骨线二用料:{{$gxeyl}}
@endforeach @endif @if(isset($d['xhs']['底布型号'])) @foreach ($d['xhs']['底布型号'] as $key => $vo )
@php $dbxh = isset($d['goodsorder_wl']['db']) ? explode(':',$d['goodsorder_wl']['db'])[0] : $vo; @endphp 底布型号:{{$dbxh}}
@php $dbyl = isset($d['goodsorder_wl']['db']) ? explode(':',$d['goodsorder_wl']['db'])[1] : $d['xhs']['底布用料'][0]; @endphp 底布用料:{{$dbyl}}
@endforeach @endif
@if($d['webname']=="音同")
侧边:2+1
@elseif($d['webname']=="钱堂纺织")
侧边:2.5+1
@elseif($d['webname']=="吴铁"&&($d['goods_name']=="双层纱-白色"||$d['goods_name']=="仿真丝-本白"))
侧边:2+2
@elseif($d['webname']=="绢帛"||$d['webname']=="吴铁"||$d['webname']=="仁基"||$d['webname']=="创帘")
侧边:1+1
@else
侧边:2+2
@endif
@if($d['webname']=="吴铁"&&($d['goods_name']=="双层纱-白色"||$d['goods_name']=="仿真丝-本白"))
@elseif($d['webname']=="吴铁"||$d['webname']=="仁基"||$d['webname']=="创帘")
底边:1+1
@elseif($d['webname']=="百福门")
底边:2+2
@else
底边:5+2
@endif
@if($d['webname']=="音同")
布带类型:8+3
@elseif($d['webname']=="绢帛")
布带类型:贴布带 13公分
@elseif($d['webname']=="仁基")
布带类型:包布带 2+8公分
@elseif($d['webname']=="创帘")
顶 3.5+2
@elseif($d['webname']=="百福门")
布带类型:包布带 10+2
@else
布带类型:贴布带 3公分
@endif
@if($d['webname']=="仁基"||$d['webname']=="创帘"||$d['webname']=="百福门")
绑带:
@elseif($d['webname']=="吴铁"&&($d['goods_name']=="双层纱-白色"||$d['goods_name']=="仿真丝-本白"))
绑带:
@else @if($d['unit'] == '片')
绑带:1条
@else
绑带:2条
@endif @endif
@if(isset($d['ks']) && $d['ks'] != '' && $d['ks'] != '无' && $d['ks'] != '无需')
款式:{{$d['ks']}}
{{--折数计算。使用裁剪计划的方法,根据动态折距和损耗 得到的总折数。王凯鑫裁剪计划 2024-04-02 --}} @if(isset($d['裁剪用料'])) @if(isset($d['裁剪用料']['总个数'])&&$d['裁剪用料']['总个数'] != '')
共{{round($d['裁剪用料']['总个数'])}}个
@else
共0个
@endif @else
共0个
@endif {{--裁剪计划--}} {{-- 原帘创折数计算代码,按照系统设置的折距来计算折数--}} {{--
共{{round($d['dx_zs'],2)}}折
--}}
@if($d['ks'] == '韩折') @elseif($d['ks'] == '打孔') @elseif($d['ks'] == '酒杯折') @endif
@endif
@if(isset($d['goodsorder_gx']['kfyq'])) @if($d['goodsorder_gx']['kfyq'] != '无' && $d['goodsorder_gx']['kfyq'] != '无需')
客服要求:{{$d['goodsorder_gx']['kfyq']}}
@endif @elseif(isset($d['enter_tech']['客服要求']) && $d['enter_tech']['客服要求'] != '' && $d['enter_tech']['客服要求'] != '无需' && $d['enter_tech']['客服要求'] != '无')
客服要求:{{$d['enter_tech']['客服要求']}}
@endif {{-- @if(isset($d['goods_normtype']) && $d['goods_normtype'] != '无' && $d['goods_normtype'] != '无需')--}} {{-- --}}{{--@if((isset($d['goodsorder_wl']['zb']) && explode(':',$d['goodsorder_wl']['zb'])[0] == ''))--}} {{--
--}} {{-- 规格:{{$d['goods_normtype']}}--}} {{--
--}} {{-- @elseif(!isset($d['goodsorder_wl']['zb'] ) && isset($d['xhs']['主布型号']) && $d['xhs']['主布型号'] == "" )--}} {{--
--}} {{-- 规格:{{$d['goods_normtype']}}--}} {{--
--}} {{-- @elseif(!isset($d['goodsorder_wl']['zb'] ) && !isset($d['xhs']['主布型号']) )--}} {{--
--}} {{-- 规格:{{$d['goods_normtype']}}--}} {{--
--}} {{-- @endif--}} {{-- @if(mb_substr($d['technique'],-3) != '@窗帘')--}} {{--
--}} {{-- 规格:{{$d['goods_normtype']}} 型号:{{$d['xh']}}--}} {{--
--}} {{-- @endif--}} {{-- @endif--}}
订单总数:{{$d['ddzs']}} {{$d['unit']}};总箱数:{{$d["zxs"]}} 箱; 每箱入数:{{$d["mxrs"]}} {{$d['unit']}}
@if(isset($type) && $type == '订单')
{{$d['gck_number']}} {{-- {{$d['goods_number']}}--}} {{--
{{$d['goods_number']}}
--}}
@else
{{$d['gck_number']}} {{-- {{$d['goods_number']}}--}} {{--
{{$d['goods_number']}}
--}}
@endif
@if(isset($d['bjyf_dm']) && $d['bjyf_dm'] && isset($d['yf_gck_number']) && $d['yf_gck_number']) 下游企业编号:{{$d['bjyf_dm']}} / {{$d['yf_gck_number']}} {{$d['yf_gck_number']}} @endif
@endforeach {{--原五版注销保存--}} {{--
@foreach($datas as $k=>$d)
{{ \App\Http\Models\Set::getWebName() }}流转单@if($d['dz'] == 1) 定制 @endif
工程卡条码:
{{$d['gck_number']}}
{{$d['gck_number']}}
单号:{{$d['order_number']}}{{ isset($d['affirm_num']) ? ' / '.$d['affirm_num'] : ''}}
批次号:{{date('Y-m-d',strtotime($d['pc']))}}
交货期:
订单人:{{$d['people']}}
{{$d['fc'] or ''}} {{$d['bz'] or ''}} {{$d['zxh'] or ''}}
品名:{{$d['goods_name']}}
品名型号:{{$d['xh']}}
成品规格:{{$d['zm']}}
窗宽:{{$d['ck']}}
开向:{{$d['type']}}
帘高:{{$d['lg']}}
配料表
工艺顺序
裁剪方式:@if($d['enter']['裁剪方式']=='定宽') {{$d['enter']['裁剪方式']}}(13公分) @else {{$d['enter_tech']['裁剪方式']}} @endif
{{$d['enter']['工艺1']}}
@if($d['enter']['工艺1'] == '拼接') @endif
主布:@if($d['xhs']['主布型号']) {{$d['xhs']['主布型号']}};
用料:{{$d['xhs']['主布用料']}}
@endif
{{str_contains($d['gy'],'加衬布') ? '加衬布' : ''}}
@if(str_contains($d['gy'],'加衬布')) @endif
配布:@if(isset($d['xhs']['配布型号'][0])) {{$d['xhs']['配布型号'][0]}};
用料:{{$d['xhs']['配布用料'][0]}}
@endif
{{$d['enter']['工艺2']}}
@if(str_contains($d['gy'],'传统工艺')) @endif @if(str_contains($d['gy'],'立边工艺')) @endif @if(str_contains($d['gy'],'揽花工艺')) @endif @if(str_contains($d['gy'],'花边工艺')) @endif @if(str_contains($d['gy'],'三维立边工艺')) @endif @if(str_contains($d['gy'],'反车立边工艺')) @endif @if(str_contains($d['gy'],'传统花边')) @endif
配布:@if(isset($d['xhs']['配布型号'][1])) {{$d['xhs']['配布型号'][1]}};
用料:{{$d['xhs']['配布用料'][1]}}
@endif
{{$d['enter']['工艺4']}}
里布:@if($d['xhs']['里布型号']) {{$d['xhs']['里布型号']}};
用料:{{$d['xhs']['里布用料']}}
@endif
{{$d['enter']['工艺5']}}
@if($d['enter']['工艺5'] == '定型') @endif
辅料(花边):@if($d['xhs']['花边型号']) {{$d['xhs']['花边型号']}};
用料:{{$d['xhs']['花边用料']}}
@endif
款式:{{$d['ks']}}
@if($d['ks'] == '韩折') @elseif($d['ks'] == '打孔') @elseif($d['ks'] == '酒杯折') @endif
@endforeach
--}} {{--@endif--}} @endsection