title = '订单详情'; $this->params['breadcrumbs'][] = '订单管理'; $this->params['breadcrumbs'][] = ['label' => '订单列表', 'url' => ['/trade/order/owner-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['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'] ?> )修改号码 | 接单工程师 | =$order['engineer_name']?$order['engineer_name'].'('.$order['engineer_phone'].')':'未接单'; ?> 0 && $order['owner_engineer_id'] == $order['engineer_id']): ?> (自己接单) |
转单人 | =$commission['engineer_name']?> | 转单分成 | =$commission['type_desc']?> | 转单备注 | =$commission['remark']?> |
二次上门时间 | 暂无 = Yii::$app->formatter->asTime($order['two_door_at'],"yyyy-MM-dd HH:mm:ss");?> | 通话记录 | ">查看历史通话记录 暂无 | 带走设备 | =$order["is_take_away_label"] ? $order["is_take_away_label"] : "" ?> |
接单距离 | =$order['pick_order_address']; ?> =$order['pick_order_distance'] . '米' ?> | ||||
人工操作 | |||||
跟单客服 | = empty($order["customerName"]) ? "无" : $order["customerName"] ?> | ||||
工程师备注 | =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['price'] ?> | =$plan['quantity']?> | =$plan['price'] ?> |
暂无报价 | ||||
维修总金额 | =$order['repair_price'] ?>(维修费)+ =$order['door_fee'] ?>(上门费)= =RepairOrderPriceRule::orderTotalPrice($order, true)?> 0){?>成本价格:=$order['cost_price'] ?> 无 | |||
实付金额 | 等待支付 =$order['pay_price'] ?> 无 | |||
工程师收入 | 接单工程师:=$order['engineer_income']?> 转单工程师:=$order['forward_income']?> 接单工程师:=$order['engineer_income']?> 暂无 |
用户评价 | ||||
综合评分 | 速度评分 | 态度评分 | 技能评分 | 评价内容 |
---|---|---|---|---|
=$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"/>否
|
|||
|
|