From 2763efef00d553bc65e08bd21384cdd6dd2a5a2f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 05 三月 2026 11:52:05 +0800
Subject: [PATCH] 进销存升级 1.添加社会保险设置页面,开发与联调 2.丰富新增入职所填字段字段并于用户管理关联 3.修改人员薪资页面样式和逻辑

---
 src/api/productionManagement/productBom.js |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/api/productionManagement/productBom.js b/src/api/productionManagement/productBom.js
index 893755b..2badea8 100644
--- a/src/api/productionManagement/productBom.js
+++ b/src/api/productionManagement/productBom.js
@@ -45,3 +45,22 @@
     params: { productModelId },
   });
 }
+
+// 瀵煎嚭BOM
+export function exportBom(bomId) {
+  return request({
+    url: "/productBom/exportBom",
+    method: "post",
+    params: { bomId },
+    responseType: "blob",
+  });
+}
+
+//  涓嬭浇妯℃澘
+export function downloadTemplate() {
+  return request({
+    url: "/productBom/downloadTemplate",
+    method: "get",
+    responseType: "blob",
+  });
+}
\ No newline at end of file

--
Gitblit v1.9.3