edit-cancel-select_car2

This commit is contained in:
lccsw
2021-12-06 16:19:56 +08:00
parent dba7ea4394
commit 95d1756807
+1 -1
View File
@@ -382,7 +382,7 @@ class Orders_entity{
if(!$this->order_row || !$p_row){
return false;
}
if($this->ci->app_liche_orders_model->count(['status>='=>0,'type'=>3])){ //存在尾款订单
if($this->ci->app_liche_orders_model->count(['status>='=>0,'type'=>3,'o_id'=>$oid])){ //存在尾款订单
return true;
}
$car_json = json_decode($this->order_row['car_json'],true);