sunhao 5 years ago
parent
commit
3c2dfd3f98
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Admin/CustReportController.php

+ 2 - 2
app/Http/Controllers/Admin/CustReportController.php

365
         //未上报数据销售
365
         //未上报数据销售
366
         $noReportSaler = $this->noReportSaler();
366
         $noReportSaler = $this->noReportSaler();
367
         $no_height = '100';
367
         $no_height = '100';
368
-        if($no_num = count($noReportSaler)) $no_height += round($no_num * 36);
368
+        if($no_num = count($noReportSaler)) $no_height += round($no_num * 37);
369
         return view('custreport/detaillist', ['result' =>$result,
369
         return view('custreport/detaillist', ['result' =>$result,
370
             'page'              =>$page,
370
             'page'              =>$page,
371
             'count'             =>$count,
371
             'count'             =>$count,
752
         $salers = DB::table('admin')->whereIn('id', $ids)->lists('realname', 'id');
752
         $salers = DB::table('admin')->whereIn('id', $ids)->lists('realname', 'id');
753
  
753
  
754
         //查每日上报数据销售
754
         //查每日上报数据销售
755
-        $result = DB::table('cust_day_detail')->select('admin_id', 'dtime')->where('dtime','<',$today)->where('is_del', 0)->orderBy('dtime', 'desc')->get();
755
+        $result = DB::table('cust_day_detail')->select('admin_id', 'dtime')->where('dtime','<',$today)->where('dtime','>=','2019-09-04')->where('is_del', 0)->orderBy('dtime', 'desc')->get();
756
         $result = json_decode(json_encode($result), true);
756
         $result = json_decode(json_encode($result), true);
757
 
757
 
758
         $data = array();
758
         $data = array();