cqpCow 1 年之前
父节点
当前提交
f74f981f50
共有 1 个文件被更改,包括 1 次插入0 次删除
  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))
         $depart_map = Depart::whereIn('id',array_unique($depart))
             ->pluck('title','id')
             ->pluck('title','id')
             ->toArray();
             ->toArray();
+        $customer['depart'] = $customer['employee'] = [];
         foreach ($customer_info as $value){
         foreach ($customer_info as $value){
             if($value['type'] == SupplierInfo::type_one){
             if($value['type'] == SupplierInfo::type_one){
                 $tmp = [
                 $tmp = [