|
@@ -662,7 +662,7 @@ class ProductService extends Service
|
|
|
->pluck('title','id')
|
|
|
->toArray();
|
|
|
|
|
|
- $depart_map = Depart::whereIn('top_depart_id',array_unique(array_column($data['top_depart_id'])))->pluck('title','id')->toArray();
|
|
|
+ $depart_map = Depart::whereIn('id',array_unique(array_column($data['data'],'top_depart_id')))->pluck('title','id')->toArray();
|
|
|
|
|
|
//产品使用价格
|
|
|
$detail_map = $this->getProductPrice(array_column($data['data'],'id'), $type);
|