Brak opisu

customerOrder.blade.php 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. @extends('admin/master')
  2. @section('content')
  3. <body>
  4. <div class="page-container">
  5. {{--<div>--}}
  6. {{--<div>--}}
  7. {{--<input class="input-text" style="width:6%;text-align:center" type="text" value="所属团队"/>--}}
  8. {{--<select style="width:10%;text-align:center" id='team_id' name="team_id">--}}
  9. {{--<option value="0" @if($team_id=='') selected @endif>-- 选择团队 --</option>--}}
  10. {{--@foreach($teamlist as $v)--}}
  11. {{--<option value="{{$v['id']}}" @if($team_id==$v['id']) selected @endif>{{$v['name']}}</option>--}}
  12. {{--@endforeach--}}
  13. {{--</select>--}}
  14. {{--<input class="input-text" style="width:6%;text-align:center" type="text" value="开始时间"/>--}}
  15. {{--<input id="stime" type="text" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd' })" class="input-text Wdate" autocomplete="off" style="width:12%;text-align:center;margin-left: -5px" name="stime" value="{{$stime?$stime:''}}">--}}
  16. {{--<input class="input-text" style="width:6%;text-align:center" type="text" value="结束时间"/>--}}
  17. {{--<input id="etime"type="text" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd' })" class="input-text Wdate" autocomplete="off" style="width:12%;text-align:center;margin-left: -5px" name="etime" value="{{$etime?$etime:''}}">--}}
  18. {{--<a class="btn btn-primary radius" style="margin-left: 5px" onclick="user_search()" href="javascript:;">搜索</a>--}}
  19. {{--<a class="btn btn-primary radius" onclick="statistics_export()" href="javascript:;"><i class="Hui-iconfont"></i> 导出数据</a>--}}
  20. {{--</div>--}}
  21. {{--</div>--}}
  22. <div class="mt-20">
  23. <table class="table table-border table-bordered table-bg table-hover table-sort">
  24. <thead>
  25. <tr class="text-c">
  26. <th width="4%">姓名</th>
  27. <th width="4%">手机号</th>
  28. <th width="4%">加粉时间</th>
  29. <th width="4%">成交总金额</th>
  30. <th width="4%">成交总单数</th>
  31. <th width="4%">退补总金额</th>
  32. <th width="4%">售后总金额</th>
  33. <th width="4%">成本总金额</th>
  34. <th width="4%">运费总金额</th>
  35. <th width="4%">毛利</th>
  36. <th width="4%">毛利占比</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. @if($result)
  41. @foreach($result as $a)
  42. <tr class="text-c" style=" text-align:center;">
  43. <td>{{$a['name']}}</td>
  44. <td>{{$a['phone']}}</td>
  45. <td>{{$a['fanTime']}}</td>
  46. <td>{{$a['totalReceivedAmount']}}</td>
  47. <td>{{$a['totalOrderNumber']}}</td>
  48. <td>{{$a['totalRefundPrice']}}</td>
  49. <td>{{$a['totalAftersaleFee']}}</td>
  50. <td>{{$a['totalCost']}}</td>
  51. <td>{{$a['totalFreightCost']}}</td>
  52. <td>{{$a['grossProfit']}}</td>
  53. <td>{{$a['grossProfitRatio']}}</td>
  54. </tr>
  55. @endforeach
  56. @endif
  57. </tbody>
  58. </table>
  59. </div>
  60. <div id="page" class="page_div"></div>
  61. </div>
  62. <!--_footer 作为公共模版分离出去-->
  63. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  64. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  65. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  66. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  67. <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
  68. <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
  69. <!--/_footer 作为公共模版分离出去-->
  70. <!--/_footer 作为公共模版分离出去-->
  71. <script type="text/javascript">
  72. // function user_search(){
  73. // var stime = $('#stime').val();
  74. // var etime = $('#etime').val();
  75. // var team_id = $('#team_id').val();
  76. //
  77. // location.href = 'dayGrandTeamTotal?stime='+stime+'&etime='+etime+'&team_id='+team_id;
  78. // }
  79. // //导出
  80. // function statistics_export(){
  81. // var stime = $('#stime').val();
  82. // var etime = $('#etime').val();
  83. // var team_id = $('#team_id').val();
  84. //
  85. // location.href = '/admin/statistics/dayGrandTeamTotal_export?stime='+stime+'&etime='+etime+'&team_id='+team_id;
  86. // }
  87. /*分页*/
  88. $("#page").paging({
  89. pageNo:{{$page}},
  90. totalPage: {{$pages}},
  91. totalSize: {{$count}},
  92. callback: function(num) {
  93. location.href='customerOrder?page='+num;
  94. }
  95. })
  96. </script>
  97. </body>
  98. @endsection