From 8f9e65a587ee29b607010f83025456ee28c9b0d6 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 13 一月 2026 16:28:35 +0800
Subject: [PATCH] 修改产品结构详情

---
 src/views/productionManagement/productStructure/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index 6ba2e4a..b17c1f0 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -15,14 +15,14 @@
             type="primary"
             text
             @click="() =>{
-              currentRowId = row.id;
+              currentRow = row;
               showEdit = true;
             }"
         >{{ row.productName }}
         </el-button>
       </template>
     </PIMTable>
-    <StructureEdit v-if="showEdit" v-model:show-model="showEdit" :product-model-id="currentRowId"/>
+    <StructureEdit v-if="showEdit" v-model:show-model="showEdit" :record="currentRow"/>
   </div>
 </template>
 
@@ -57,7 +57,7 @@
 const tableLoading = ref(false);
 const showEdit = ref(false);
 const selectedRows = ref([]);
-const currentRowId = ref(0);
+const currentRow = ref({});
 const page = reactive({
   current: 1,
   size: 10,

--
Gitblit v1.9.3