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/supplierManage/supplier.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/api/supplierManage/supplier.js b/src/api/supplierManage/supplier.js
index f9e0b2d..94cad95 100644
--- a/src/api/supplierManage/supplier.js
+++ b/src/api/supplierManage/supplier.js
@@ -75,6 +75,18 @@
     data
   })
 }
+// 棰勮鍚堝悓
+export const previewContract = async (data) => {
+  return await axios.get(`/api/con/previewContract`, {
+    params: data
+  })
+}
+// 涓嬭浇鍚堝悓
+export const downloadContract = async (data) => {
+  return await axios.get(`/api/con/downloadContract`, {
+    params: data
+  })
+}
 
 // 鏇存柊鎵�灞炶涓�
 export function updateIndustry(data) {

--
Gitblit v1.8.0