feat(StoreProductLists): 修改了商品列表的显示方式
This commit is contained in:
parent
b65ab15e2a
commit
be8881b1ad
@ -85,7 +85,6 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa
|
||||
$item['unit_names'] = '标准商品';
|
||||
}
|
||||
|
||||
$item['supplier_name'] = '自购';
|
||||
$item['unit_name'] = StoreProductUnit::where('id', $item['unit'])->value('name');
|
||||
$nums = WarehouseProductStorege::where('product_id', $item['id'])->sum('nums');
|
||||
$stock = StoreBranchProduct::where('store_id', '<>', '4')->where('product_id', $item['id'])->sum('stock');
|
||||
@ -170,7 +169,6 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa
|
||||
'price' => '零售',
|
||||
'bar_code' => '条码',
|
||||
'bar_code_two' => '自编码',
|
||||
'supplier_name' => '供应商',
|
||||
];
|
||||
return $data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user