|
|
|
@ -78,7 +78,7 @@ class OrderMain extends Model |
|
|
|
if ($this->attributes['state'] == OrderState::DELIVERY) { |
|
|
|
if($this->attributes['shipping_type'] == 3) { |
|
|
|
return '待自提'; |
|
|
|
}elseif ($this->attributes['shipping_type'] == 1 && !$this->attributes['horseman_id']){ |
|
|
|
}elseif ($this->attributes['shipping_type'] == 1 && empty($this->attributes['horseman_id'])){ |
|
|
|
return '已接单'; |
|
|
|
} |
|
|
|
} |
|
|
|
|