管理番号 | {{ $params->parts_code }} | @else @if(isset($qr_code) && $qr_code)
---|---|
スキャン※ QR |
@include('backend.share._parts._parts_qr_code_scan') |
管理番号※ | @include("backend.share._parts._parts_search_part", ["parts_id"=>old('parts_id', (isset($params->parts_id) ? $params->parts_id : (isset($parts->id) ? $parts->id : null))), 'is_stock_search'=>true, 'i' => '']) @error('parts_code') {{ $message }} @enderror @error('parts_id') {{ $message }} @enderror |
部品名 | |
棚番 |
@if (isset($params) || isset($parts))
@php
$shelf_no2 = old('shelf_no2', isset($params->shelf_no2) ? $params->shelf_no2 : (isset($confirm_params['shelf_no2']) ? $confirm_params['shelf_no2'] : (isset($parts->parts_code) ? $parts->shelf_no2 : null)));
$shelf_no = old('shelf_no', isset($params->shelf_no) ? $params->shelf_no : (isset($confirm_params['shelf_no']) ? $confirm_params['shelf_no'] : (isset($parts->parts_code) ? $parts->shelf_no : null)));
if ($shelf_no) { //A1-01
if(strpos($shelf_no, '-')){
$shelf_number = intval(substr($shelf_no, 2, 2));
$shelf_alpha = substr($shelf_no, 0, 1);
$has_number = true;
} else {
$shelf_number = $shelf_no;
$shelf_alpha = $shelf_no;
$has_number = false;
}
if($shelf_alpha != '' && config('const.shelf_set.'.$shelf_alpha) > 0) {
$is_number_select = true;
} elseif($shelf_alpha != '') { //手入力
$is_number_select = false;
$has_number = true;
$shelf_alpha = '手入力';
}
$shelf_numbers = config('const.shelf_set.'.$shelf_alpha) ;
} else {
$shelf_alpha = '';
$shelf_type = '';
$has_number = false;
$is_number_select = false;
$shelf_number = '';
}
@endphp
@php
if ($shelf_no2) { //A1-01
if(strpos($shelf_no2, '-')){
$shelf_number = intval(substr($shelf_no2, 2, 2));
$shelf_alpha = substr($shelf_no2, 0, 1);
$has_number = true;
} else {
$shelf_number = $shelf_no2;
$shelf_alpha = $shelf_no2;
$has_number = false;
}
if($shelf_alpha != '' && config('const.shelf_set.'.$shelf_alpha) > 0) {
$is_number_select = true;
} elseif($shelf_alpha != '') { //手入力
$is_number_select = false;
$has_number = true;
$shelf_alpha = '手入力';
}
$shelf_numbers = config('const.shelf_set.'.$shelf_alpha) ;
} else {
$shelf_alpha = '';
$shelf_type = '';
$has_number = false;
$is_number_select = false;
$shelf_number = '';
}
@endphp
{{ old('shelf_no', isset($params->shelf_no) ? $params->shelf_no : (isset($parts->shelf_no) ? $parts->shelf_no : '')) }} @error('shelf_no') {{ $message }} @enderror{{ old('shelf_no2', isset($params->shelf_no2) ? $params->shelf_no2 : (isset($parts->shelf_no2) ? $parts->shelf_no2 : '')) }} @error('shelf_no2') {{ $message }} @enderror |
読み取り日時 |
{{-- @if(isset($qr_code) && $qr_code)--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- @else--}}
|
読み取り者 | user()->name_kanji) }}" readonly> |
メモ |