From 31529c9b7c993b409b3a369492f232fe38850ec4 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 03 二月 2026 16:42:34 +0800
Subject: [PATCH] 原材料检验增加采购订单号;过程检验和出厂检验增加生产工单号

---
 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