车辆租赁合同展示错误修复
This commit is contained in:
parent
a925881072
commit
92c22b3893
@ -124,7 +124,7 @@ class VehicleLogic extends BaseLogic
|
||||
//获取租赁信息
|
||||
$rentInfo = VehicleRent::where('car_id',$data['id'])->findOrEmpty()->toArray();
|
||||
$contract = Contract::where('id',$rentInfo['contract_id'])->findOrEmpty();
|
||||
$rentInfo['contract_file'] = $contract['file'];
|
||||
$rentInfo['contract_file'] = $contract['contract_url'];
|
||||
$data['rent_info'] = !empty($rentInfo) ? $rentInfo : [];
|
||||
//获取物流信息
|
||||
$logistic = Logistics::field('order_id,order_sn,shop_name,user_name,receiver_address,qh_time,ps_time')->where('courier_id',$rentInfo['use_user_id'])->where('status',1)->limit(10)->select()->each(function($item){
|
||||
|
Loading…
x
Reference in New Issue
Block a user