Merge pull request '修改商品溯源导出' (#553) from dev into main

Reviewed-on: #553
This commit is contained in:
mkm 2025-03-18 09:40:19 +08:00
commit 4d22eecf2d

View File

@ -93,7 +93,7 @@ class ProductSourceLinkController extends BaseAdminController
public function export()
{
$params = $this->request->post();
$params = $this->request->get();
$query = ProductSourceLink::field('id,purchase_uid,product_id,warehouse_id');
if (!empty($params['product_name'])) {
$productIds = StoreProduct::where('store_name', 'like', "%{$params['product_name']}%")->column('id');