edit-api-order_show_contract

This commit is contained in:
lccsw
2022-06-01 13:47:59 +08:00
parent 447d1efade
commit 9ff99fb6cb
+3 -3
View File
@@ -220,9 +220,8 @@ class Order extends Wxapp{
];
}
}
if($order['brand_id']==4){
$agree = true;
}
$show_agree = true;
$order['brand_id'] == 4 && $show_agree = 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]);
@@ -248,6 +247,7 @@ class Order extends Wxapp{
'info' => $info,
'sub_order' => $sub_order,
'agree' => $agree,
'show_agree' => $show_agree,
'ckcar_status' => $ckcar_status, //是否显示确认车辆
'version' => $attrs[$val['v_id']] ? $attrs[$val['v_id']][0]['title'] : '',
'color' => $attrs[$val['cor_id']] ? $attrs[$val['cor_id']][0]['title'] : '',