通知
This commit is contained in:
parent
eae143512f
commit
e53dc1bdd3
|
|
@ -154,7 +154,7 @@ class OrderDispatchService extends BaseService
|
||||||
try {
|
try {
|
||||||
//接单
|
//接单
|
||||||
$orderDispatch->status = $orderDispatchStatus;
|
$orderDispatch->status = $orderDispatchStatus;
|
||||||
|
$orderDispatch->follow = 1;
|
||||||
//拒接原因
|
//拒接原因
|
||||||
if ($type == 'reject') {
|
if ($type == 'reject') {
|
||||||
if (empty($params['reject_reason'])) {
|
if (empty($params['reject_reason'])) {
|
||||||
|
|
@ -290,6 +290,7 @@ class OrderDispatchService extends BaseService
|
||||||
$orderDispatch = $this->getOrderDispatchInfo($workerId, $orderDispatchId);
|
$orderDispatch = $this->getOrderDispatchInfo($workerId, $orderDispatchId);
|
||||||
$orderDispatch->status = OrderDispatch::STATUS_PLANIT;
|
$orderDispatch->status = OrderDispatch::STATUS_PLANIT;
|
||||||
$orderDispatch->plan_time = $planTime;
|
$orderDispatch->plan_time = $planTime;
|
||||||
|
$orderDispatch->follow = 1;
|
||||||
$orderDispatch->save();
|
$orderDispatch->save();
|
||||||
|
|
||||||
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
||||||
|
|
@ -336,6 +337,7 @@ class OrderDispatchService extends BaseService
|
||||||
$orderDispatch->status = OrderDispatch::STATUS_CLOCK;
|
$orderDispatch->status = OrderDispatch::STATUS_CLOCK;
|
||||||
$orderDispatch->arrive_images = $this->removeStrCdnUrl($images);
|
$orderDispatch->arrive_images = $this->removeStrCdnUrl($images);
|
||||||
$orderDispatch->arrive_time = $time;
|
$orderDispatch->arrive_time = $time;
|
||||||
|
$orderDispatch->follow = 1;
|
||||||
$orderDispatch->save();
|
$orderDispatch->save();
|
||||||
|
|
||||||
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
||||||
|
|
@ -390,6 +392,7 @@ class OrderDispatchService extends BaseService
|
||||||
$orderDispatch = $this->getOrderDispatchInfo($workerId, $params['order_dispatch_id']);
|
$orderDispatch = $this->getOrderDispatchInfo($workerId, $params['order_dispatch_id']);
|
||||||
$orderDispatch->status = OrderDispatch::STATUS_FINISH;
|
$orderDispatch->status = OrderDispatch::STATUS_FINISH;
|
||||||
$orderDispatch->images = $this->removeStrCdnUrl($params['complete_images']);
|
$orderDispatch->images = $this->removeStrCdnUrl($params['complete_images']);
|
||||||
|
$orderDispatch->follow = 2;
|
||||||
$orderDispatch->finish_time = $time;
|
$orderDispatch->finish_time = $time;
|
||||||
|
|
||||||
// 材料相关
|
// 材料相关
|
||||||
|
|
@ -463,7 +466,7 @@ class OrderDispatchService extends BaseService
|
||||||
$orderDispatch = $this->getOrderDispatchInfo($workerId, $params['order_dispatch_id']);
|
$orderDispatch = $this->getOrderDispatchInfo($workerId, $params['order_dispatch_id']);
|
||||||
$orderDispatch->is_finish_today = $params['is_finish_today'];
|
$orderDispatch->is_finish_today = $params['is_finish_today'];
|
||||||
$orderDispatch->estimated_finish_time = $params['estimated_finish_time'];
|
$orderDispatch->estimated_finish_time = $params['estimated_finish_time'];
|
||||||
|
$orderDispatch->follow = 1;
|
||||||
if ($params['is_finish_today'] == 0) {
|
if ($params['is_finish_today'] == 0) {
|
||||||
$orderDispatch->work_progress = $params['work_progress'];
|
$orderDispatch->work_progress = $params['work_progress'];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user