@extends('layouts.main') @section('content')
{!! Form::open([ 'url' => 'mstitem/update', 'method' => 'POST', 'name' => 'form', 'id' => 'createform' ]) !!}
製品情報登録

製品情報

{!! Form::label("ID","製品ID",["class"=>"control-label btn"]) !!} {!! Form::text("ID", $id, ["class"=>"form-control", "id"=>"ID", "readonly", "style" => "width:100px"]) !!} {!! Form::label("Code","製品コード",["class"=>"control-label btn"]) !!} {!! Form::text("Code", $ItemCode, ["class"=>"validate[required,maxSize[32],funcCall[checkLtNumHifn]] form-control", "id"=>"Code", "style" => "width:100px"]) !!}
{!! Form::label("ItemCat","製品分類",["class"=>"control-label btn"]) !!} @if ( $csele<0 ) @if ( !empty($ItemCat) ) {!! Form::select('ItemCat', ['' => '製品分類を選択'] + array_pluck($ItemCat, 'name', 'id'), 0, ['class' => 'validate[required] form-control', 'id' => 'itemcat' ] ) !!} @endif @else @if ( !empty($ItemCat) ) {!! Form::select('ItemCat', array_pluck($ItemCat, 'name', 'id'), $csele, ['class' => 'validate[required] form-control', 'id' => 'itemcat' ] ) !!} @endif @endif
{!! Form::label("ItemName","製品名",["class"=>"control-label btn"]) !!} {!! Form::text("ItemName", $ItemName, ["class"=>"validate[required,maxSize[128]] form-control", "id"=>"ItemName"]) !!} {!! Form::label("ItemNameK","製品名(カナ)",["class"=>"control-label btn"]) !!} {!! Form::text("ItemNameK", $ItemNamek, ["class"=>"validate[maxSize[128]] form-control", "id"=>"ItemNameK"]) !!}
{!! Form::label("Memo","備考",["class"=>"control-label btn"]) !!} {!! Form::textarea("Memo", $memo, ["class"=>"form-control", "id"=>"Memo", 'rows' => '3']) !!}

定期交換部品

エラー内容

利用可能ユーザー

{!! Form::hidden("update", "", ["class"=>"form-control", "id"=>"update"]) !!} {!! Form::hidden("d_opt1", "", ["class"=>"form-control", "id"=>"d_opt1"]) !!} {!! Form::hidden("d_opt2", "", ["class"=>"form-control", "id"=>"d_opt2"]) !!} {!! Form::hidden("d_users", "", ["class"=>"form-control", "id"=>"d_users"]) !!} {!! Form::submit("更新", ["class" => "btn btn-success", "onClick" => "execUpdate();" ]) !!} {!! Form::submit("キャンセル", ["class" => "btn btn-default clearForm", "onClick" => "execCancel();" ]) !!} {!! Form::close() !!}
@endsection