From 0949f8557b1323e525962c5490d0fcdfeb1baf7b Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期二, 20 一月 2026 12:43:55 +0800
Subject: [PATCH] 首页-当待办事项数量大于0时才显示通知提醒
---
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