diff --git a/app/common/model/vehicle/Vehicle.php b/app/common/model/vehicle/Vehicle.php index 1a565040..ec77512d 100644 --- a/app/common/model/vehicle/Vehicle.php +++ b/app/common/model/vehicle/Vehicle.php @@ -15,7 +15,7 @@ class Vehicle extends BaseModel public function getStatusNameAttr($value,$data): string { - $status = [0=>'未出租',1=>'签约中',2=>'已出租',3=>'已解约']; + $status = [0=>'未出租',1=>'签约中',2=>'已出租',3=>'已解约',4=>'已出售']; return $status[$data['status']]; }