From 2a3b42c43479fa4f6bdd5a06e1a878e35e44eb17 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Fri, 16 Jun 2023 18:23:24 +0800 Subject: [PATCH] contract --- api/controllers/wxapp/liche/Order.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/controllers/wxapp/liche/Order.php b/api/controllers/wxapp/liche/Order.php index 244aebf0..23e6264e 100644 --- a/api/controllers/wxapp/liche/Order.php +++ b/api/controllers/wxapp/liche/Order.php @@ -221,11 +221,11 @@ class Order extends Wxapp{ ]; } } - $show_agree = true; - if($order['brand_id'] == 4) { //除宁德哪吒需要购车合同 - $biz = $this->biz_model->get(['id'=>$order['biz_id']],'city_id'); - $show_agree = $biz['city_id'] == '350900'||$order['srv_ids'] ? true : false; - } + $show_agree = false; +// if($order['brand_id'] == 4) { //除宁德哪吒需要购车合同 +// $biz = $this->biz_model->get(['id'=>$order['biz_id']],'city_id'); +// $show_agree = $biz['city_id'] == '350900'||$order['srv_ids'] ? true : false; +// } $ckcar_status = false; $agent_ck = $this->receiver_order_status_model->count(['o_id'=>$val['o_id'],'status'=>1,'pid_status'=>4]); $user_ck = $this->receiver_order_status_model->count(['o_id'=>$val['o_id'],'status'=>2,'pid_status'=>4]); @@ -251,7 +251,7 @@ class Order extends Wxapp{ 'info' => $info, 'sub_order' => $sub_order, 'agree' => $agree, - 'show_agree' => $show_agree, + 'show_agree' => $order['brand_id'] == 1 ? true : false, 'ckcar_status' => $ckcar_status, //是否显示确认车辆 'need_sign' => $order['brand_id'] == 1 ? true : false, 'version' => $attrs[$val['v_id']] ? $attrs[$val['v_id']][0]['title'] : '',