From f83d34dea8dc3fd1f0ee613dd2f40453665d8492 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期四, 16 四月 2026 09:50:55 +0800
Subject: [PATCH] fix(contractManagement): 修复合同期限计算并显示为年

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

diff --git a/src/api/productionManagement/productStructure.js b/src/api/productionManagement/productStructure.js
index e69e14a..978c709 100644
--- a/src/api/productionManagement/productStructure.js
+++ b/src/api/productionManagement/productStructure.js
@@ -9,6 +9,14 @@
   });
 }
 
+// 鏍规嵁BOM ID鏌ヨ鐖堕」浜у搧
+export function listByBomIdIsParent(bomId) {
+  return request({
+    url: "/productStructure/listBybomIdIsParent/" + bomId,
+    method: "get",
+  });
+}
+
 export function add(data) {
   return request({
     url: "/productStructure",

--
Gitblit v1.9.3