Keine Beschreibung

vipCustomerCreate.blade.php 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. @extends('admin/master')
  2. @section('content')
  3. <body>
  4. @if(count($errors) > 0)
  5. <div class="Huialert Huialert-info" id="error">
  6. @foreach($errors->all() as $error)
  7. <li>{{$error}}</li>
  8. @endforeach
  9. </div>
  10. @endif
  11. <div class="page-container">
  12. <form action="/admin/customer/addVip" method="post" class="form form-horizontal" enctype="multipart/form-data">
  13. <input type="hidden" name="_token" value="{{ csrf_token() }}" />
  14. <div class="row cl">
  15. <label class="form-label col-xs-4 col-sm-2">
  16. 姓名:</label>
  17. <div class="formControls col-xs-6 col-sm-6">
  18. <input type="text" class="input-text" value="{{old('name')}}" placeholder="" name="name">
  19. </div>
  20. </div>
  21. <div class="row cl">
  22. <label class="form-label col-xs-4 col-sm-2">
  23. 手机号:</label>
  24. <div class="formControls col-xs-6 col-sm-6">
  25. <input type="text" class="input-text" value="{{old('phone')}}" placeholder="" name="phone">
  26. <br>
  27. </div>
  28. </div>
  29. <div class="row cl">
  30. <label class="form-label col-xs-4 col-sm-2">
  31. 生日:</label>
  32. <div class="formControls col-xs-6 col-sm-6">
  33. <input type="text" onfocus="WdatePicker({dateFmt:'MM-dd'})" autocomplete="off" class="input-text Wdate" name="birthday" value="{{old('birthday')}}">
  34. <br>
  35. </div>
  36. </div>
  37. <div class="row cl">
  38. <label class="form-label col-xs-4 col-sm-2">
  39. 金额:</label>
  40. <div class="formControls col-xs-6 col-sm-6">
  41. <input type="text" class="input-text" value="{{old('price')}}" placeholder="" name="price">
  42. <br>
  43. </div>
  44. </div>
  45. <div class="row cl">
  46. <label for="" class="form-label col-xs-4 col-sm-2">充值方式:</label>
  47. <div class="formControls col-xs-6 col-sm-6">
  48. <select style="text-align:center" id='' class="select-box" name="payment_type">
  49. <option value="1" @if(old('payment_type')==1) selected @endif class="select-option">微信支付</option>
  50. <option value="3" @if(old('payment_type')==3) selected @endif class="select-option">个体户支付</option>
  51. </select>
  52. </div>
  53. </div>
  54. <div class="row cl">
  55. <label for="" class="form-label col-xs-4 col-sm-2">选择销售:</label>
  56. <div class="formControls col-xs-6 col-sm-6">
  57. <select style="text-align:center" id='admin_id' class="select-box" name="admin_id">
  58. <option value="" selected class="select-option">-- 选择销售 --</option>
  59. @foreach($adminlist as $v)
  60. <option value="{{$v['id']}}" @if(old('admin_id')==$v['id']) selected @endif class="select-option">{{$v['realname']}}</option>
  61. @endforeach
  62. </select>
  63. </div>
  64. </div>
  65. <div class="row cl">
  66. <div class="col-9 col-offset-2">
  67. <button class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>&nbsp;
  68. <button class="btn btn-default" type="reset" onclick="return_index();">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>&nbsp;
  69. {{--<a href="javascript:void(0)" class="btn btn-default radius" onclick="redirect('{{url('/admin/admin/all')}}')">返回并查看结果</a>--}}
  70. </div>
  71. </div>
  72. </form>
  73. </div>
  74. <!--_footer 作为公共模版分离出去-->
  75. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  76. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  77. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  78. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  79. <!--/_footer 作为公共模版分离出去-->
  80. <!--请在下方写此页面业务相关的脚本-->
  81. <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
  82. <script type="text/javascript">
  83. $(function(){
  84. setTimeout("$('#error').hide()",3000);
  85. });
  86. /*返回*/
  87. function return_index(){
  88. location.href='/admin/customer/vipList';
  89. }
  90. </script>
  91. </body>
  92. @endsection