edit-api-order_show_contract
This commit is contained in:
@@ -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'] : '',
|
||||
|
||||
Reference in New Issue
Block a user