update
This commit is contained in:
parent
18e479baa3
commit
8f8d78f576
@ -47,7 +47,7 @@ class OpurchaseGoodsOfferList extends BaseAdminDataLists implements ListsSearchI
|
|||||||
$where[] = ['price','=',''];
|
$where[] = ['price','=',''];
|
||||||
}
|
}
|
||||||
if(!$supplier_id) return [];
|
if(!$supplier_id) return [];
|
||||||
return OpurchaseGoodsOffer::where($this->searchWhere)->where('supplier_id',$supplier_id)->where($where)->where('is_adopt',1)
|
return OpurchaseGoodsOffer::where($this->searchWhere)->where('supplier_id',$supplier_id)->where($where)->where('is_adopt',0)
|
||||||
->with('goods')
|
->with('goods')
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user