From ff9ab2338984b0c25c788d8c6ac75e6b70d0f0a1 Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Wed, 5 Jan 2022 15:07:43 +0800 Subject: [PATCH] edit-liche-resign --- api/libraries/liche/Progressopt.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/libraries/liche/Progressopt.php b/api/libraries/liche/Progressopt.php index d05e4686..53812a24 100644 --- a/api/libraries/liche/Progressopt.php +++ b/api/libraries/liche/Progressopt.php @@ -135,6 +135,9 @@ class Progressopt{ if($jsondata['if_fine']!=$opt_jsondata['if_fine']){ $need_resign_agent = true; //需要签服务补充协议 } + if($money_json['fee_carno'] != $opt_money_json['fee_carno']){ //修改挂牌费 + $need_resign_agent = true; + } if($jsondata['if_fine'] && $opt_jsondata['if_fine']){ $price_fine = $money_json['price_fine_discount'] ? $money_json['fine_price'] - $money_json['price_fine_discount'] : $money_json['fine_price']; $opt_price_fine = $opt_money_json['price_fine_discount'] ? $opt_money_json['fine_price'] - $opt_money_json['price_fine_discount'] : $opt_money_json['fine_price']; @@ -143,10 +146,11 @@ class Progressopt{ } } + if($need_resign_agent && !$agent_count){ + $url = '/pages/mine/signContract/weiTuoBu?id='.$order['id']; + } if($need_resign_car && !$car_count){ $url = '/pages/mine/signContract/maiMaiBu?id='.$order['id']; - }elseif($need_resign_agent && !$agent_count){ - $url = '/pages/mine/signContract/weiTuoBu?id='.$order['id']; } }elseif($sign_count==1){ $url = '/pages/mine/signContract/daiLi?id='.$order['id'];