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 |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/src/api/supplierManage/supplier.js b/src/api/supplierManage/supplier.js
index 0f556e1..94cad95 100644
--- a/src/api/supplierManage/supplier.js
+++ b/src/api/supplierManage/supplier.js
@@ -75,5 +75,30 @@
     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) {
+  return request({
+    url: "/api/i/updateIndustry",
+    method: "put",
+    data
+  })
+}
+// 鎵�灞炶涓氬垪琛�
+export const getIndustryList = async (data) => {
+  return await axios.get(`/api/i/getIndustryList`, {
+    params: data
+  })
+}

--
Gitblit v1.8.0