This commit is contained in:
mkm 2024-05-11 13:46:59 +08:00
commit 865fb6dc1a

View File

@ -39,7 +39,7 @@ class OpurchaseGoodsOfferList extends BaseAdminDataLists implements ListsSearchI
*/
public function lists(): array
{
$supplier_id=$this->request->userInfo['supplier']['id'] ?? 1;
$supplier_id=$this->request->userInfo['supplier']['id'] ?? 0;
$params = $this->request->get();
if(isset($params['type']) && $params['type'] == 2){
$where[] = ['price','<>',''];