This commit is contained in:
weiz 2024-05-11 16:13:25 +08:00
parent 8f8d78f576
commit 982ff79c7f

View File

@ -91,7 +91,7 @@ class GoodsLists extends BaseAdminDataLists implements ListsSearchInterface
$order['id'] = 'desc';
}
return Goods::where($this->searchWhere)->where($where)
->field(['id', 'name','brand','class','unit', 'sell', 'code','imgs','sales'])
->field(['id', 'name','brand','class','unit', 'sell', 'code','imgs','sales','spec'])
->limit($this->limitOffset, $this->limitLength)
->with(['className','brandName','unitName'])
->order($order)