cqpCow hace 1 año
padre
commit
f74f981f50
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Service/SupplierService.php

+ 1 - 0
app/Service/SupplierService.php

@@ -201,6 +201,7 @@ class SupplierService extends Service
         $depart_map = Depart::whereIn('id',array_unique($depart))
             ->pluck('title','id')
             ->toArray();
+        $customer['depart'] = $customer['employee'] = [];
         foreach ($customer_info as $value){
             if($value['type'] == SupplierInfo::type_one){
                 $tmp = [