edit-api-pay_list
This commit is contained in:
@@ -236,6 +236,7 @@ class User extends Wxapp{
|
||||
|
||||
$page = $this->input_param('page');
|
||||
$size = $this->input_param('size');
|
||||
$oid = $this->input_param('oid');
|
||||
!$page && $page = 1;
|
||||
!$size && $size = 10;
|
||||
$mobile = $this->session['mobile'];
|
||||
@@ -244,6 +245,7 @@ class User extends Wxapp{
|
||||
"(mobile={$mobile} or (ifentrust=1 and json_extract(info_json,'$.entrust_mobile')='{$mobile}'))" => null,
|
||||
"status" => 6,
|
||||
];
|
||||
$oid && $where['o_id'] = $oid;
|
||||
$count = $this->orders_model->count($where);
|
||||
$lists = [];
|
||||
if($count){
|
||||
|
||||
@@ -168,7 +168,7 @@ class Progressopt{
|
||||
}else{
|
||||
$state = 2;
|
||||
}
|
||||
$progressOpt = ['title'=> '交定金','url'=>'/pages/mine/carOrder/index'];
|
||||
$progressOpt = ['title'=> '交定金','url'=>'/pages/mine/carOrder/index?oid='.$order['id']];
|
||||
}else{ //已交定金
|
||||
$state = 1;
|
||||
}
|
||||
@@ -180,7 +180,7 @@ class Progressopt{
|
||||
$state = 2;
|
||||
if($ckcar_row['status']==2){ //未支付
|
||||
$title = $order['payway'] ? '去支付尾款' : '去支付首付';
|
||||
$progressOpt = ['title'=> $title,'url'=>'/pages/mine/carOrder/index'];
|
||||
$progressOpt = ['title'=> $title,'url'=>'/pages/mine/carOrder/index?oid='.$order['id']];
|
||||
}else{
|
||||
$progressOpt = ['title'=> '确认车辆','url'=>'/pages/mine/signContract/queRen?id='.$order['id']];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user