修改商品溯源导出

This commit is contained in:
lewis 2025-03-18 09:37:05 +08:00
parent 7fc4d87249
commit 6751be1f23

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');