feat: 修改了StoreProductLists.php文件,调整了商品列表的查询字段,添加了'store_info'字段,并更新了相应的字典翻译。
This commit is contained in:
parent
b0a6d7da50
commit
60c7b154a5
@ -62,7 +62,7 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return StoreProduct::where($this->searchWhere)
|
return StoreProduct::where($this->searchWhere)
|
||||||
->field(['id', 'image', 'store_name', 'swap', 'product_type', 'cate_id', 'batch', 'price', 'vip_price', 'sales', 'stock', 'is_show', 'unit', 'cost', 'rose', 'purchase', 'bar_code', 'manufacturer_information'])
|
->field(['id', 'image', 'store_info','store_name', 'swap', 'product_type', 'cate_id', 'batch', 'price', 'vip_price', 'sales', 'stock', 'is_show', 'unit', 'cost', 'rose', 'purchase', 'bar_code', 'manufacturer_information'])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()->each(function ($item) {
|
->select()->each(function ($item) {
|
||||||
@ -125,6 +125,7 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa
|
|||||||
'store_name' => '商品名称',
|
'store_name' => '商品名称',
|
||||||
'cate_name'=>'分类',
|
'cate_name'=>'分类',
|
||||||
'unit_name'=>'单位',
|
'unit_name'=>'单位',
|
||||||
|
'store_info'=>'规格',
|
||||||
'stock' => '库存',
|
'stock' => '库存',
|
||||||
'purchase' => '采购价',
|
'purchase' => '采购价',
|
||||||
'cost' => '商户',
|
'cost' => '商户',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user