|
|
|
@ -187,17 +187,17 @@ class InsurerController extends BaseController |
|
|
|
|
// dd($order_info->non_id); |
|
|
|
|
//快递 |
|
|
|
|
// dd($car_info->id); |
|
|
|
|
$ems_items = EmsT::find() |
|
|
|
|
->where(['car_id'=>$car_info->id,'order_id'=>$order_info->id]) |
|
|
|
|
->orderBy('id ASC') |
|
|
|
|
->all(); |
|
|
|
|
$ems_items1=(object)array(); |
|
|
|
|
if(!$ems_items){ |
|
|
|
|
$ems_items1 = ExpressT::find() |
|
|
|
|
->where(['car_id'=>$car_info->id,'order_id'=>$order_info->id]) |
|
|
|
|
->orderBy('id ASC') |
|
|
|
|
->all(); |
|
|
|
|
} |
|
|
|
|
// $ems_items = EmsT::find() |
|
|
|
|
// ->where(['car_id'=>$car_info->id,'order_id'=>$order_info->id]) |
|
|
|
|
// ->orderBy('id ASC') |
|
|
|
|
// ->all(); |
|
|
|
|
// $ems_items1=(object)array(); |
|
|
|
|
// if(!$ems_items){ |
|
|
|
|
// $ems_items1 = ExpressT::find() |
|
|
|
|
// ->where(['car_id'=>$car_info->id,'order_id'=>$order_info->id]) |
|
|
|
|
// ->orderBy('id ASC') |
|
|
|
|
// ->all(); |
|
|
|
|
// } |
|
|
|
|
//礼品 |
|
|
|
|
$gift_free_group_items = GiftGroupT::find() |
|
|
|
|
->where('is_free=1') |
|
|
|
@ -230,8 +230,8 @@ class InsurerController extends BaseController |
|
|
|
|
return $this->render('info',[ |
|
|
|
|
'order_info'=>$order_info, |
|
|
|
|
'car_info'=>$car_info, |
|
|
|
|
'ems_items' => $ems_items, |
|
|
|
|
'ems_items1' => $ems_items1, |
|
|
|
|
// 'ems_items' => $ems_items, |
|
|
|
|
// 'ems_items1' => $ems_items1, |
|
|
|
|
'money_man' => $money_man, |
|
|
|
|
'money_no' => $money_no, |
|
|
|
|
'money_bank' => $money_bank, |
|
|
|
|