暫無描述

totalcreate.blade.php 3.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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/custreport/totalstore" 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('total_fan_add')}}" placeholder="请输入加粉数" name="total_fan_add">
  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('total_cost')}}" placeholder="" name="total_cost">
  26. </div>
  27. </div>
  28. <div class="row cl">
  29. <label class="form-label col-xs-4 col-sm-2">
  30. 日期:</label>
  31. <div class="formControls col-xs-6 col-sm-6">
  32. <input id="dtime" type="text" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd' })" class="input-text Wdate" style="width:22%;text-align:center;" name="dtime" value="">
  33. </div>
  34. </div>
  35. <div class="row cl">
  36. <label class="form-label col-xs-4 col-sm-2">
  37. 选择团队:</label>
  38. <div class="formControls col-xs-6 col-sm-6">
  39. <span class="select-box">
  40. <select size="1" name="team_id" id='team'>
  41. <option value="0" @if(old('team_id')=='') selected @endif>- 请选择 -</option>
  42. @foreach($teamlist as $v)
  43. <option value="{{$v['id']}}" @if(old('team_id')==$v['id']) selected @endif>{{$v['name']}}</option>
  44. @endforeach
  45. </select>
  46. </span>
  47. </div>
  48. </div>
  49. <div class="row cl">
  50. <div class="col-9 col-offset-2">
  51. <button class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>&nbsp;
  52. <button class="btn btn-default" type="reset" onclick="return_index();">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>&nbsp;
  53. </div>
  54. </div>
  55. </form>
  56. </div>
  57. <!--_footer 作为公共模版分离出去-->
  58. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  59. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  60. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  61. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  62. <!--/_footer 作为公共模版分离出去-->
  63. <!--请在下方写此页面业务相关的脚本-->
  64. <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
  65. <script type="text/javascript">
  66. $(function(){
  67. setTimeout("$('#error').hide()",3000);
  68. });
  69. /*返回*/
  70. function return_index(){
  71. location.href='/admin/custreport/totalindex';
  72. }
  73. </script>
  74. </body>
  75. @endsection