title = '订单详情'; $this->params['breadcrumbs'][] = '订单管理'; $this->params['breadcrumbs'][] = ['label' => '订单列表', 'url' => ['/trade/order/index','order_status'=>$order_status]]; $this->params['breadcrumbs'][] = $this->title; CssFiles::register($this, 'exts/showimg/css/showimg.css'); $markTag = false; $is_finished_tag = 0; if (isset($is_finished)) { // 如果有回访记录提交,回访完成,则标记为1,未完成,则标记为2 $is_finished_tag = ($is_finished == 1) ? 1 : 2 ; } ?>
订单信息 | |||||
订单号 | =$order['order_no']; ?> | 订单状态 | =$orderStatusList[$order['status']]; ?> | 支付单号 | =$order['pay_no']; ?> |
---|---|---|---|---|---|
支付时间 | formatter->asTime($order['pay_at'],"yyyy-MM-dd HH:mm:ss"); ?> 暂无时间 | 报修客户端 | =$order['repair_client_name']; ?> | 报修渠道 | = $channels[$order['repair_channel']] ?> |
报修设备 |
=$order['repair_device_name']; ?>
![]() |
报修时间 | =Yii::$app->formatter->asTime($order['created_at'],"yyyy-MM-dd HH:mm:ss"); ?> | 帐户信息 | =$order['nickname']; ?> ( 帐户手机:=$order['phone'] ?> ) |
公司名称 | =$order['owner']; ?> | 上门地址 | =$order['title'].$order['detail']?> (=$order['address']; ?>) [= empty($order['longitude']) ? 0 : $order['longitude']; ?>, = empty($order['latitude']) ? 0 : $order['latitude']; ?>] | 联系信息 | =empty($order['contact_name'])? '未填':$order['contact_name']; ?> ( 电话:=$order['contact_phone'] ?> )修改号码 |
二次上门时间 | 暂无 = Yii::$app->formatter->asTime($order['two_door_at'],"yyyy-MM-dd HH:mm:ss");?> | 工程师惩罚 | 0) { if (empty($complainIllegal) || 0 == $complainIllegal['status']) { ?> 投诉 撤销投诉 跳单 已选跳单 | 工程师 | =$order['engineer_name']?$order['engineer_name'].'('.$order['engineer_phone'].')':'未接单'; ?> |
接单距离 | =$order['pick_order_address']; ?> =$order['pick_order_distance'] . '米' ?> | 感谢费 | =$order['thank_fee'];?>元 | ||
人工操作 | 工程师到达 手动结束订单: 手动结束订单 再次结束订单 | ||||
通话记录 | ">查看历史通话记录 暂无 | 是否现场派单 | ,现场工程师已接单 ,现场工程师未接单 否 | 带走设备 | =$order["is_take_away_label"] ? $order["is_take_away_label"] : "" ?> |
跟单客服 | = empty($order["customerName"]) ? "无" : $order["customerName"] ?> | 手动开票 | " class="openInvoiceByHand">点击开票 暂无操作 | 隐私通话 | 0 && true == $order['reBindPhone'] ):?> 过质保期客户咨询绑定 客户咨询暂无操作 0 && true == $order['reBindEngineerPhone'] ):?> 质保期内工程师咨询绑定 工程师咨询暂无操作 |
工程师备注 | =empty($order['engineer_remark'])?'暂无':$order['engineer_remark'] ?> | ||||
客户来源 | = isset(RepairOrderAgent::getLabels($agent_id)["title"]) ? RepairOrderAgent::getLabels($agent_id)["title"] : "" ?> | ||||
当前联系人电话 | = $call_phone ?> |
用户故障描述 | |||
=$fault['name']?> =$order['other_fault']?> | |||
维修故障明细及报价 ">报价记录 | ||||||||||||||||
设备故障 | 维修方案 | 维修方案报价明细 | 数量 | 价格 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
=$plan['fault'] ?> | =$plan['plan_name'] ?> |
|
=$plan['quantity']?> | =$plan['price'] *$plan['quantity'] ?> | ||||||||||||
暂无报价 | ||||||||||||||||
维修总金额 | =$order['repair_price'] ?>(维修费)+ =$order['door_fee'] ?>(上门费)= =RepairOrderPriceRule::orderTotalPrice($order, true)?> 无 | |||||||||||||||
工时费折扣 | =$order['labor_discount_price'] ?> | |||||||||||||||
实付金额 | 等待支付 =$order['pay_price'] ?> 0): ?>(优惠: =$order['discount_price']?>元) 无 | |||||||||||||||
工程师订单收入 |
维修收入: =empty($order['engineer_income'])?0:$order['engineer_income']; ?>
0): ?> 距离补贴: = $distanceSubsidyIncome ?> 无 |
|||||||||||||||
平台抽佣 | =$order['employ_fee'] ?> (免佣: =$order['free_commission_amount'] ?>元) 无 |
用户评价 | ||||
综合评分 | 速度评分 | 态度评分 | 技能评分 | 评价内容 |
---|---|---|---|---|
=$order_rate->final_star ?> | =$order_rate->user_speed_star ?> | =$order_rate->user_attitude_star ?> | =$order_rate->user_skill_star ?> | =empty($order_rate->user_comment)?"暂无评论内容":$order_rate->user_comment ?> |
暂无评价 |
评价标签 | ||||
$v){ ?> =$v["name"] ?> | 暂无评价标签 |
用户取消理由 | ||||
= $order['cancel_reason'] ?> |
客户回访 | ||||
=$question['title'] ?> : |
value="=$option['content'] ?>" />=$option['content'] ?>
|
$opch){
if (!empty($opch) && $opch == $option['content']){
echo $option['content'];
}
}
}
}
}
} else { ?>
$opch){
if (!empty($opch) && $opch == $option['content']){
echo "checked=\"checked\"";
}
if (isset($opch)) {
if ($opch) {
// echo "disabled=\"disabled\"";
}
}
}
}
}
}
}?> data-id = "=$question['id'] ?>" value="=$option['content'] ?>" />=$option['content'] ?>
|
||
回访是否完成: |
是
name="rdfinished"/>否
|
|||
|
|