This commit is contained in:
xiaoyu
2023-06-16 18:23:24 +08:00
parent 66c96b85fd
commit 2a3b42c434
+6 -6
View File
@@ -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'] : '',