Browse Source

订单状态

master
Lemon 5 years ago
parent
commit
5b491ea90c
  1. 2
      app/Model/v3/OrderMain.php

2
app/Model/v3/OrderMain.php

@ -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 '已接单';
}
}

Loading…
Cancel
Save