新增列表字段
This commit is contained in:
parent
957f8ba187
commit
76c1a2fdff
@ -43,7 +43,9 @@ class StoreProductAttrValueLists extends BaseAdminDataLists implements ListsSear
|
|||||||
public function lists(): array
|
public function lists(): array
|
||||||
{
|
{
|
||||||
return StoreBranchProductAttrValue::with('attr')->where($this->searchWhere)
|
return StoreBranchProductAttrValue::with('attr')->where($this->searchWhere)
|
||||||
->field(['id', 'product_id', 'stock', 'unique', 'sales', 'bar_code'])
|
->field(['id', 'product_id', 'stock', 'unique', 'sales', 'bar_code',
|
||||||
|
'price', 'vip_price', 'cost', 'purchase',
|
||||||
|
])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()
|
->select()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user