From 0f8844dcb400fcdee4ea7831336a6aff382a8cc2 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期六, 23 九月 2023 14:59:16 +0800
Subject: [PATCH] fix: 修复搜索供应商列表结果为空时产品列表不为空的bug, 修复产品列表翻页后搜索供应商时产品列表页码未重置的bug, 修复供应商列表/产品列表/采购订单/质检单/退货单翻页后再搜索页码未重置的bug

---
 src/api/productManage/product.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/api/productManage/product.js b/src/api/productManage/product.js
index 6a3f7af..7929fa8 100644
--- a/src/api/productManage/product.js
+++ b/src/api/productManage/product.js
@@ -31,3 +31,10 @@
     data
   })
 }
+
+// 娣诲姞浜у搧鑾峰彇浜у搧鍒楄〃
+export const getProductListFromGrpc = async (data) => {
+  return await axios.get(`/api/p/getProductListFromGrpc`, {
+    params: data
+  })
+}

--
Gitblit v1.8.0