@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
@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['goodsorder_wl']['zbisedit']) && $d['goodsorder_wl']['zbisedit'] == 2)
{{ isset($d['xhs']['主布用料']) && $d['xhs']['主布用料'] > 0 ? $d['xhs']['主布用料'] : '' }}
@else
{{explode(':',$d['goodsorder_wl']['zb'])[1]}}
@endif
@else
主布{{++$cnt}}:{{$d['xhs']['主布型号'] or ''}}@if(isset($d['xhs']['主布仓库']) && !empty($d['xhs']['主布仓库'])) // @else @endif @if(isset($d['xhs'])){{$d['xhs']['主布仓库']}}@else @endif
宽度用料:{{ isset($d['xhs']['主布用料']) && $d['xhs']['主布用料'] > 0 ? $d['xhs']['主布用料'] : '' }}
@endif
@endif
@if($cjfs == '定宽裁高')
高度用料:
@if(isset($d['goodsorder_wl']['zb']) || isset($d['xhs']['主布型号']))
{{$d['lg']}}+0.16={{$d['lg'] + 0.16}}
@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($py != '')
@if(isset($d['goodsorder_wl']['py'.'isedit']) && $d['goodsorder_wl']['py'.'isedit'] == 2)
{{ isset($d['xhs']['配一用料']) && $d['xhs']['配一用料'] > 0 ? $d['xhs']['配一用料'] : '' }}
@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
宽度用料:{{ isset($d['xhs']['配一用料']) && $d['xhs']['配一用料'] > 0 ? $d['xhs']['配一用料'] : '' }}
@endif
@if($cjfs == '定宽裁高' && $py != '')
高度用料:
{{$d['lg']}}+0.16={{$d['lg'] + 0.16}}
@endif
@endforeach
@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($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
宽度用料:{{ !empty($pe) && isset($d['xhs']['配二用料']) && $d['xhs']['配二用料'] > 0 ? $d['xhs']['配二用料'] : '' }}
@endif
@if($cjfs == '定宽裁高' && $pe != '')
高度用料:
{{$d['lg']}}+0.16={{$d['lg'] + 0.16}}
@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['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
宽度用料:{{ 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']}}+0.16={{$d['lg'] + 0.16}}
@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']}}+0.16={{$d['lg'] + 0.16}}
@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
{{--花边 横拼 成品宽度+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']['花边型号'][$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($d['pj_tip'] == '无' || $d['pj_tip'] == '无需')
@else
@if($d['pj_tip'])
{{--下单有,下单不为空,显示下单内容--}}
@endif
@endif
@if($d['cfkz_tip'] == '无' || $d['pj_tip'] == '无需')
@else
@if($d['cfkz_tip'])
{{$d['cfkz_tip']}}
@if(str_contains($d['cfkz_tip'],'传统'))

@endif
@if(str_contains($d['cfkz_tip'],'立边'))

@endif
@if(str_contains($d['cfkz_tip'],'揽花'))

@endif
@if(str_contains($d['cfkz_tip'],'花边'))

@endif
@if(str_contains($d['cfkz_tip'],'三维立边'))

@endif
@if(str_contains($d['cfkz_tip'],'反车立边'))

@endif
@if(str_contains($d['cfkz_tip'],'传统花边'))

@endif
@endif
@endif
@if($d['cfkb_tip'] == '无' || $d['pj_tip'] == '无需')
@else
@if($d['cfkb_tip'])
{{$d['cfkb_tip']}}
@if(str_contains($d['cfkb_tip'],'传统'))

@endif
@if(str_contains($d['cfkb_tip'],'立边'))

@endif
@if(str_contains($d['cfkb_tip'],'揽花'))

@endif
@if(str_contains($d['cfkb_tip'],'花边'))

@endif
@if(str_contains($d['cfkb_tip'],'三维立边'))

@endif
@if(str_contains($d['cfkb_tip'],'反车立边'))

@endif
@if(str_contains($d['cfkb_tip'],'传统花边'))

@endif
@endif
@endif
@if(isset($d['goodsorder_gx']['tbyq']) && ($d['goodsorder_gx']['tbyq'] == '无' || $d['goodsorder_gx']['tbyq'] == '无需'))
@else
@if(isset($d['goodsorder_gx']['tbyq']))
{{--下单有,下单不为空,显示下单内容--}}
{{$d['goodsorder_gx']['tbyq']}}
@elseif(isset($d['enter_tech']['特别要求']) && $d['enter_tech']['特别要求'] != '')
{{--下单无,存货不为空,显示存货--}}
{{$d['enter_tech']['特别要求'] or ''}}
@else
{{--下单有,下单为空,隐藏;下单无,存货为空,隐藏--}}
@endif
@endif
@if(explode('.',$_SERVER['HTTP_HOST'])[0] == 'www' || explode('.',$_SERVER['HTTP_HOST'])[0] == 'cs')
@if(isset($d['goodsorder_gx']['dbbb']))
@if($d['goodsorder_gx']['dbbb'] == '无' || $d['goodsorder_gx']['dbbb'] == '无需')
@else
{{--下单有,下单不为空,显示下单内容--}}
{{--@if($cjfs == '定高裁宽' && $d['lg'] > 2.65 && $d['lg'] <= 2.75 && str_contains($d['xh'],['LCB','LCS','TB','TS','ELB','ELS']) && $d['goodsorder_gx']['dbbb'] == '卷边6公分')--}}
{{-- @if($cjfs == '定高裁宽' && $d['lg'] >= 2.68 && str_contains($d['xh'],['LCB','LCS','TB','TS','ELB','ELS']) && $d['goodsorder_gx']['dbbb'] == '卷边6公分')--}}
{{--包边条包边--}}
{{--@else--}}
{{$d['goodsorder_gx']['dbbb']}}
{{--@endif--}}
@endif
@elseif(isset($d['enter_tech']['底边包边']) && $d['enter_tech']['底边包边'] != '' && ($d['enter_tech']['底边包边'] != '无' || $d['enter_tech']['底边包边'] != '无需'))
{{--下单无,存货不为空,显示存货--}}
{{--@if($cjfs == '定高裁宽' && $d['lg'] > 2.65 && $d['lg'] <= 2.75 && str_contains($d['xh'],['LCB','LCS','TB','TS','ELB','ELS']) && $d['enter_tech']['底边包边'] == '卷边6公分')--}}
{{-- @if($cjfs == '定高裁宽' && $d['lg'] >= 2.68 && str_contains($d['xh'],['LCB','LCS','TB','TS','ELB','ELS']) && $d['enter_tech']['底边包边'] == '卷边6公分')--}}
{{--包边条包边--}}
{{--@else--}}
{{$d['enter_tech']['底边包边']}}
{{--@endif--}}
@else
{{--下单有,下单为空,隐藏;下单无,存货为空,隐藏--}}
@endif
@endif
@if(isset($d['goodsorder_gx']['cb']))
@if($d['goodsorder_gx']['cb'] != '无' && $d['goodsorder_gx']['cb'] != '无需')
@if(str_contains($d['goodsorder_gx']['cb'],'加衬布'))
@endif
@endif
@elseif(isset($d['enter_tech']['衬布']) && str_contains($d['enter_tech']['衬布'],'加衬布') && ($d['enter_tech']['衬布'] != '无' || $d['enter_tech']['衬布'] != '无需'))
@endif
@if(isset($d['goodsorder_gx_zdy']))
@foreach($d['goodsorder_gx_zdy'] as $kkk=>$zdy)
@if($zdy == '定型')
定型 {{ $d['dx_temp'] ? '\ '.$d['dx_temp'].'℃' : '' }}{{$d['dx_goods'] ? ' \ '.$d['dx_goods'] : ''}}
@elseif($zdy == '不定型')
@else
@if($zdy == '无' || $zdy == '无需')
@else
@endif
@endif
@endforeach
@endif
@if(isset($d['goodsorder_gx_zdys']))
@foreach($d['goodsorder_gx_zdys'] as $kkk=>$zdy)
@if($zdy == '定型')
定型 {{ $d['dx_temp'] ? '\ '.$d['dx_temp'].'℃' : '' }}{{$d['dx_goods'] ? ' \ '.$d['dx_goods'] : ''}}
@elseif($zdy == '不定型')
@else
@if($zdy == '无' || $zdy == '无需')
@else
@endif
@endif
@endforeach
@endif
{{--@if($d['dx'] == '不定型')--}}
{{--
--}}
{{--
不定型
--}}
{{--
--}}
{{--

--}}
{{--
--}}
{{--
--}}
{{--@elseif($d['dx'] == '定型')--}}
{{--
--}}
{{--
定型 {{ $d['dx_temp'] ? '\ '.$d['dx_temp'].'℃' : '' }}{{$d['dx_goods'] ? ' \ '.$d['dx_goods'] : ''}}
--}}
{{--
--}}
{{--@else--}}
{{--@endif--}}
@if(isset($d['ks']) && $d['ks'] != '' && $d['ks'] != '无' && $d['ks'] != '无需')
款式:{{$d['ks']}}
共{{round($d['dx_zs'],2)}}折
@if($d['ks'] == '韩折')

@elseif($d['ks'] == '打孔')

@elseif($d['ks'] == '酒杯折')

@endif
@endif
@if(explode('.',$_SERVER['HTTP_HOST'])[0] == 'www' || explode('.',$_SERVER['HTTP_HOST'])[0] == 'cs')
@unless(isset($d['ks']) && $d['ks'] != '韩折' && $d['ks'] != '打孔' && $d['ks'] != '酒杯折')
上布带:{{$d['ks'] == '酒杯折' ? '12公分' : '10公分'}}
@endunless
@endif