edit-order_entity

This commit is contained in:
lccsw
2021-12-17 15:31:13 +08:00
parent 6b9a889814
commit 3fe289be4e
@@ -393,13 +393,7 @@ class Orders_entity{
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);
$color = isset($car_json['color']) ? $car_json['color'] : '';
$jsondata['car'] = $car_json;
if($color['jsondata']['img']){
$jsondata['cover'] = $color['jsondata']['img'];
}
//获取门店信息
$biz = $this->ci->biz_model->get(['id'=>$this->order_row['biz_id']],'company_id,srv_company_id');
$company = $this->ci->sys_company_model->get(['id'=>$biz['company_id']]);