From 8ba79292b0a1b6a8f93ca00432c6f2db827b1a93 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 19 三月 2026 17:32:29 +0800
Subject: [PATCH] 。

---
 src/views/productionManagement/productStructure/Detail/index.vue |   25 ++++++++-----------------
 1 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/src/views/productionManagement/productStructure/Detail/index.vue b/src/views/productionManagement/productStructure/Detail/index.vue
index 9cd0976..07a8db5 100644
--- a/src/views/productionManagement/productStructure/Detail/index.vue
+++ b/src/views/productionManagement/productStructure/Detail/index.vue
@@ -141,16 +141,12 @@
       </el-table-column>
       <el-table-column label="BOM缂栧彿"
                        prop="bomNo" />
-      <el-table-column label="浜у搧缂栫爜"
-                       prop="productCode" />
-      <el-table-column label="浜у搧鍚嶇О"
-                       prop="productName" />
-      <el-table-column label="瑙勬牸鍨嬪彿"
-                       prop="model" />
+      <el-table-column label="浜у搧绫诲瀷"
+                       prop="dictLabel" />
     </el-table>
-    <div v-if="dataValue.isEdit && dataValue.dataList.length == 0"
+    <div v-if="dataValue.isEdit"
          style="text-align: center;border: 1px solid #e4e7ed;padding: 10px;transition: all 0.3s ease;cursor: pointer;"
-         :class="{'hover-effect': dataValue.isEdit && dataValue.dataList.length == 0}">
+         :class="{'hover-effect': dataValue.isEdit}">
       <el-button type="primary"
                  text
                  @click="addItem">
@@ -206,11 +202,8 @@
 
   // 浠庤矾鐢卞弬鏁拌幏鍙栦骇鍝佷俊鎭�
   const routeBomNo = computed(() => route.query.bomNo || "");
-  const routeProductCode = computed(() => route.query.productCode || "");
-  const routeProductName = computed(() => route.query.productName || "");
-  const routeProductModelName = computed(
-    () => route.query.productModelName || ""
-  );
+  const routeDictLabel = computed(() => route.query.dictLabel || "");
+
   const routeOrderId = computed(() => route.query.orderId);
   const pageType = computed(() => route.query.type);
   const isOrderPage = computed(
@@ -230,9 +223,8 @@
 
   const tableData = reactive([
     {
-      productName: "",
-      model: "",
       bomNo: "",
+      dictLabel: "",
     },
   ]);
 
@@ -539,9 +531,8 @@
 
   onMounted(async () => {
     // 浠庤矾鐢卞弬鏁板洖鏄炬暟鎹�
-    tableData[0].productName = routeProductName.value as string;
-    tableData[0].model = routeProductModelName.value as string;
     tableData[0].bomNo = routeBomNo.value as string;
+    tableData[0].dictLabel = routeDictLabel.value as string;
 
     // 璁㈠崟鎯呭喌涓嬬鐢ㄧ紪杈�
     if (isOrderPage.value) {

--
Gitblit v1.9.3