@extends('vip.layouts')
@section('seo_title')
  {{ trans('menu.record') }}
@endsection
@section('content')

<form class="layui-form" action="{{ url()->full() }}" id="submitForm" name="submitForm" method="post" eventType="eventForm">
{!! csrf_field() !!}
  <div class="layui-form-item">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-block">
      <input type="text" name="account_name" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{{isset(
      $data['account_name'])?$data['account_name']:''}}" disabled="disabled">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">订单号</label>
    <div class="layui-input-block">
    <input type="text" name="menu_url"   lay-verify="" autocomplete="off" class="layui-input" value="{{isset($data['order_id'])?$data['order_id']:''}}" disabled="disabled">
    </div>    
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">开户行</label>
    <div class="layui-input-inline">
    <input type="text" name="bank_name"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['bank_name']}}" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">卡号</label>
    <div class="layui-input-inline">
      <input type="text" name="bank_number"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['bank_number']}}" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">开户姓名</label>
    <div class="layui-input-inline">
      <input type="text" name="name"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['name']}}" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">开户地址</label>
    <div class="layui-input-inline">
      <input type="text" name="bank_address"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['bank_address']}}" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">金额</label>
    <div class="layui-input-inline">
      <input type="text" name="money"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['money']}}" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">金额类型</label>
    <div class="layui-input-inline">
      <input type="text" name="recharge_type"   lay-verify="" autocomplete="off" class="layui-input" value="回水" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">申请时间</label>
    <div class="layui-input-inline">
      <input type="text" name="money_time"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['money_time']}}" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-inline">
      <input type="text" name="status"   lay-verify="" autocomplete="off" class="layui-input" value="@if($data['status']==1)成功 @else 请手动操作 @endif" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">理由</label>
    <div class="layui-input-inline">
      <input type="text" name="reason"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['reason']}}" disabled="disabled">
    </div>
  </div>
</form>
 
<script>
//Demo
layui.use(['form'], function(){
  var form = layui.form;
  
  //监听提交
  form.on('submit(submitForm)', function(data){
    return true;
  });
});

</script>
@endsection
