123
This commit is contained in:
parent
322357385c
commit
d2082f8e4a
@ -54,7 +54,7 @@ class VehicleLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
$item['type_name'] = $item->type_name;
|
||||
$item['mileage'] = 0;
|
||||
if($item['status'] == 2){
|
||||
$item['rent_info'] = VehicleRent::where('car_id',$item['id'])->find();
|
||||
$item['rent_info'] = VehicleRent::where('car_id',$item['id'])->findOrEmpty();
|
||||
$goodsTotal = 0;
|
||||
Logistics::field('order_id')->where('courier_id',$item['rent_info']['use_user_id'])->where('status',1)->select()->each(function($case)use(&$goodsTotal){
|
||||
$count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user