Parcourir la source

拦截工单 创建问题

loustwo il y a 4 ans
Parent
commit
e0a6bb5a4e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Services/WorkOrderInterceptService.php

+ 1 - 1
app/Services/WorkOrderInterceptService.php

@@ -55,7 +55,7 @@ class WorkOrderInterceptService extends WorkOrderService
     public function store($params)
     {
         $issueType = $this->issueTypeService->firstOrCreate(['name' => '拦截']);
-        $order = $this->syncOrder($params['orderNos']);
+        $order = $this->syncOrder($params['order_no']);
         $workOrder = $this->createAndNotification($order, $issueType, $params['remark'] ?? '拦截工单');
         $workOrder->change('承运商处理','商家创建','');
         $detail = $this->detailService->createWorkOrderDetail($workOrder, $params);