sunhao 5 years ago
parent
commit
60bb124bc0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Admin/StatisticsController.php

+ 1 - 0
app/Http/Controllers/Admin/StatisticsController.php

@@ -4772,6 +4772,7 @@ class StatisticsController extends Controller
4772 4772
             $v['propsName'] .= !empty($skus) && $skus->is_weigh == 1 ? '【称重商品】' : '';  
4773 4773
             $v['price'] = $skus->price;
4774 4774
             $v['amount'] = round($v['price'] * $v['volume'], 2);
4775
+            $v['rank_id'] = $k+1;
4775 4776
         }
4776 4777
 
4777 4778
         $indexKey = ['rank_id','name','propsName','price','counts','volume','amount'];