Compare commits
No commits in common. "6d67d00c637b189b953254902825fd9098f9f254" and "a89f7fbe280617bc6bb962c43a211e1769442850" have entirely different histories.
6d67d00c63
...
a89f7fbe28
@ -88,16 +88,6 @@ class WarehouseProductStoregeLists extends BaseAdminDataLists implements ListsSe
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($this->request->get('class_all')){
|
|
||||||
$where[] = ['top_cate_id', 'in', $this->request->get('class_all')];
|
|
||||||
}
|
|
||||||
$ids = StoreProduct::where($where)->column('id');
|
|
||||||
if ($ids) {
|
|
||||||
$this->searchWhere[] = ['product_id', 'in', $ids];
|
|
||||||
$this->ids = $ids;
|
|
||||||
} else {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
return WarehouseProductStorege::where($this->searchWhere)
|
return WarehouseProductStorege::where($this->searchWhere)
|
||||||
->field(['id','is_verify','warehouse_id', 'product_id', 'nums', 'price', 'total_price', 'status'])
|
->field(['id','is_verify','warehouse_id', 'product_id', 'nums', 'price', 'total_price', 'status'])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user