From bd2f01b77e9c3ac2885e508584c1791be9037af6 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期六, 16 五月 2026 09:42:16 +0800
Subject: [PATCH] fix:1.生产订单bom结构更改刷新页面

---
 src/views/productionManagement/processRoute/processRouteItem/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/productionManagement/processRoute/processRouteItem/index.vue b/src/views/productionManagement/processRoute/processRouteItem/index.vue
index 99d4ab1..8abef17 100644
--- a/src/views/productionManagement/processRoute/processRouteItem/index.vue
+++ b/src/views/productionManagement/processRoute/processRouteItem/index.vue
@@ -1361,7 +1361,7 @@
         .then(() => {
           ElMessage.success("BOM淇濆瓨鎴愬姛");
           bomDataValue.value.isEdit = false;
-          fetchBomData();
+          refreshCurrentPage();
         })
         .catch(() => {
           ElMessage.error("BOM淇濆瓨澶辫触");
@@ -1374,11 +1374,15 @@
     }
   };
 
-  onMounted(() => {
+  const refreshCurrentPage = () => {
     getRouteInfo();
     getList();
     getProcessList();
     fetchBomData();
+  };
+
+  onMounted(() => {
+    refreshCurrentPage();
   });
 
   onUnmounted(() => {

--
Gitblit v1.9.3