Sin descripción

sendFinanceList.blade.php 4.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. <input id="stime" type="text" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd' })" autocomplete="off" class="input-text Wdate" style="width:12%;text-align:center;margin-left: -5px" name="stime" value="{{$stime?$stime:''}}">
  9. <input class="input-text" style="width:6%;text-align:center" type="text" value="结束时间"/>
  10. <input id="etime"type="text" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd' })" autocomplete="off" class="input-text Wdate" style="width:12%;text-align:center;margin-left: -5px" name="etime" value="{{$etime?$etime:''}}">
  11. <a class="btn btn-primary radius" style="margin-left: 5px" onclick="user_search()" href="javascript:;">搜索</a>
  12. <a class="btn btn-primary radius" onclick="statistics_export()" href="javascript:;"><i class="Hui-iconfont"></i> 导出数据</a>
  13. </div>
  14. </div>
  15. <div class="mt-20">
  16. <table class="table table-border table-bordered table-bg table-hover table-sort">
  17. <thead>
  18. <tr class="text-c">
  19. <th width="5%">团队</th>
  20. <th width="5%">发货时间</th>
  21. <th width="5%">订单编号</th>
  22. <th width="5%">成交金额</th>
  23. <th width="5%">货品成本</th>
  24. <th width="5%">物流成本</th>
  25. <th width="5%">支付方式</th>
  26. <th width="5%">收货人</th>
  27. <th width="5%">物流单号</th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. @if($result)
  32. @foreach($result as $a)
  33. <tr class="text-c" style=" text-align:center;">
  34. <td>{{$a['team_name']}}</td>
  35. <td>{{$a['ctime']}}</td>
  36. <td>{{$a['id']}}</td>
  37. <td>{{$a['receivedAmount']}}</td>
  38. <td>{{$a['cost']}}</td>
  39. <td>{{$a['freight_cost']}}</td>
  40. <td>{{$a['payment_type']}}</td>
  41. <td>{{$a['receiverName']}}</td>
  42. <td>{{$a['logistics_id']}}</td>
  43. </tr>
  44. @endforeach
  45. @endif
  46. </tbody>
  47. </table>
  48. </div>
  49. <div id="page" class="page_div"></div>
  50. </div>
  51. <!--_footer 作为公共模版分离出去-->
  52. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  53. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  54. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  55. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  56. <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
  57. <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
  58. <!--/_footer 作为公共模版分离出去-->
  59. <!--/_footer 作为公共模版分离出去-->
  60. <script type="text/javascript">
  61. function user_search(){
  62. var stime = $('#stime').val();
  63. var etime = $('#etime').val();
  64. location.href = 'sendFinanceList?stime='+stime+'&etime='+etime;
  65. }
  66. //导出
  67. function statistics_export(){
  68. var stime = $('#stime').val();
  69. var etime = $('#etime').val();
  70. location.href = '/admin/fxstatistics/sendFinanceList_export?stime='+stime+'&etime='+etime;
  71. }
  72. /*分页*/
  73. $("#page").paging({
  74. pageNo:{{$page}},
  75. totalPage: {{$pages}},
  76. totalSize: {{$count}},
  77. callback: function(num) {
  78. var stime = $('#stime').val();
  79. var etime = $('#etime').val();
  80. location.href='sendFinanceList?page='+num+'&stime='+stime+'&etime='+etime;
  81. }
  82. })
  83. </script>
  84. </body>
  85. @endsection