1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- @extends('admin/master')
- @section('content')
- <body>
- <div class="page-container">
- <div>
- <div>
- <input class="input-text" style="width:6%;text-align:center" type="text" value="开始时间"/>
- <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:''}}">
- <input class="input-text" style="width:6%;text-align:center" type="text" value="结束时间"/>
- <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:''}}">
-
- <a class="btn btn-primary radius" style="margin-left: 5px" onclick="user_search()" href="javascript:;">搜索</a>
- <a class="btn btn-primary radius" onclick="statistics_export()" href="javascript:;"><i class="Hui-iconfont"></i> 导出数据</a>
-
- </div>
- </div>
-
- <div class="mt-20">
- <table class="table table-border table-bordered table-bg table-hover table-sort">
- <thead>
- <tr class="text-c">
- <th width="5%">团队</th>
- <th width="5%">发货时间</th>
- <th width="5%">订单编号</th>
- <th width="5%">成交金额</th>
- <th width="5%">货品成本</th>
- <th width="5%">物流成本</th>
-
- <th width="5%">支付方式</th>
- <th width="5%">收货人</th>
- <th width="5%">物流单号</th>
- </tr>
- </thead>
- <tbody>
- @if($result)
- @foreach($result as $a)
- <tr class="text-c" style=" text-align:center;">
- <td>{{$a['team_name']}}</td>
- <td>{{$a['ctime']}}</td>
- <td>{{$a['id']}}</td>
- <td>{{$a['receivedAmount']}}</td>
- <td>{{$a['cost']}}</td>
- <td>{{$a['freight_cost']}}</td>
- <td>{{$a['payment_type']}}</td>
- <td>{{$a['receiverName']}}</td>
- <td>{{$a['logistics_id']}}</td>
- </tr>
- @endforeach
- @endif
- </tbody>
- </table>
- </div>
- <div id="page" class="page_div"></div>
- </div>
-
- <!--_footer 作为公共模版分离出去-->
- <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
- <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
- <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
- <!--/_footer 作为公共模版分离出去-->
- <!--/_footer 作为公共模版分离出去-->
- <script type="text/javascript">
- function user_search(){
- var stime = $('#stime').val();
- var etime = $('#etime').val();
- location.href = 'sendFinanceList?stime='+stime+'&etime='+etime;
- }
- //导出
- function statistics_export(){
- var stime = $('#stime').val();
- var etime = $('#etime').val();
- location.href = '/admin/fxstatistics/sendFinanceList_export?stime='+stime+'&etime='+etime;
- }
-
- /*分页*/
-
- $("#page").paging({
- pageNo:{{$page}},
- totalPage: {{$pages}},
- totalSize: {{$count}},
- callback: function(num) {
- var stime = $('#stime').val();
- var etime = $('#etime').val();
- location.href='sendFinanceList?page='+num+'&stime='+stime+'&etime='+etime;
- }
- })
-
- </script>
-
- </body>
- @endsection
|