From eabce49a49dcb6a902c1d59b996b6d4a810fb4b7 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期二, 20 一月 2026 14:05:51 +0800
Subject: [PATCH] 采购台账-审批通过才进行来票登记

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

diff --git a/src/api/productionManagement/productBom.js b/src/api/productionManagement/productBom.js
index 03ddd2a..893755b 100644
--- a/src/api/productionManagement/productBom.js
+++ b/src/api/productionManagement/productBom.js
@@ -36,3 +36,12 @@
     data: ids,
   });
 }
+
+// 鏍规嵁浜у搧鍨嬪彿ID鏌ヨBOM
+export function getByModel(productModelId) {
+  return request({
+    url: "/productBom/getByModel",
+    method: "get",
+    params: { productModelId },
+  });
+}

--
Gitblit v1.9.3