@extends('vip.layouts')
@section('content')

<form class="layui-form" action="" id="submitForm" name="submitForm" method="post" eventType=eventAjaxForm>
{!! csrf_field() !!}
	<div class="layui-form-item">
    <label class="layui-form-label">编号</label>
    <div class="layui-input-block">
      <input type="text" name="id" required  lay-verify="required" style="width: 190px;"  autocomplete="off" class="layui-input" value="{{$data['id']}}" disabled="disabled" >
    </div>
  </div>

  <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" style="width: 190px;" autocomplete="off" class="layui-input" value="{{$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="order_id"   lay-verify="" style="width: 210px;" autocomplete="off" class="layui-input" value="{{$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="apply_time"   lay-verify=""  placeholder="" autocomplete="off" class="layui-input" value="{{$data['apply_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="complete_time"   lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="{{$data['complete_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="money"   lay-verify="" placeholder="" 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="status"   lay-verify="" value="{{trans('status.money_recharge.send_status')[$data['status']]}}" autocomplete="off" class="layui-input" 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="" value="{{$data['recharge_type']}}" autocomplete="off" class="layui-input" disabled="disabled">
    </div>
  </div>

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

  <div class="layui-form-item">
    <label class="layui-form-label">交易后余额</label>
    <div class="layui-input-block">
	<input type="text" name="money_cash" lay-verify="" style="width: 190px;" value="{{$data['money_cash']}}" autocomplete="off" class="layui-input" disabled="disabled">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">说明</label>
    <div class="layui-input-inline">
      <textarea type="text" name="reason"   lay-verify="" style="width: 440px;height: 60px;" autocomplete="off" class="layui-input" disabled="disabled">{{$data['reason']}}</textarea>
    </div>
  </div>
</form>

<script>
//Demo
layui.use(['form'], function(){
  var form = layui.form;

  //监听提交
  form.on('submit(submitForm)', function(data){
    return true;
  });
});

</script>
@endsection
