From d7e5253cee9fd02e4a65fa27ef759f995a6e8e87 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 17 一月 2026 14:56:29 +0800
Subject: [PATCH] 报工页面工单状态筛选去掉
---
src/views/productionManagement/productStructure/index.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index 08faf7c..d8ce689 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -18,7 +18,7 @@
<el-button
type="primary"
text
- @click="showDetail(row.id)">{{ row.productName }}
+ @click="showDetail(row)">{{ row.bomNo }}
</el-button>
</template>
</PIMTable>
@@ -85,13 +85,14 @@
{
label: "BOM缂栧彿",
prop: "bomNo",
+ dataType: 'slot',
+ slot: "detail",
minWidth: 140
},
{
label: "浜у搧鍚嶇О",
prop: "productName",
- dataType: 'slot',
- slot: "detail",
+
minWidth: 160
},
{
@@ -321,11 +322,14 @@
};
// 鏌ョ湅璇︽儏
-const showDetail = (id) => {
+const showDetail = (row) => {
router.push({
path: '/productionManagement/productStructureDetail',
query: {
- id: id
+ id: row.id,
+ bomNo: row.bomNo || '',
+ productName: row.productName || '',
+ productModelName: row.productModelName || ''
}
});
};
--
Gitblit v1.9.3