From 7713e63365e74047c08f3416b5a95108fdee7002 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 20 一月 2025 10:53:02 +0800 Subject: [PATCH] 产品结构树: 1、工序和工步层级新增加工设备型号和加工设备类型字段 2、各层级详细信息调整创建人及修改人字段 3、指派到设备窗口布局完成100% --- src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue index 5c71c42..e4191af 100644 --- a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue +++ b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue @@ -1,7 +1,7 @@ <template> <div> <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" - :scroll="{y:189}" :customRow="customRow" :size="size" rowKey="docId"> + :scroll="{y:189}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange"> </a-table> @@ -48,6 +48,7 @@ { title: '涓婁紶鏃堕棿', dataIndex: 'createTime', align: 'center' } ], dataSource: [], + currentDocumentInfo: {}, url: { list: '/nc/doc/find/page' } @@ -96,7 +97,9 @@ this.$emit('handleTableContextMenuOpen', { ...record, param: 'OTHER' }) }, click: () => { - this.$bus.$emit('sendCurrentLevelInfo', record) + if (this.currentDocumentInfo.docId === record.docId) return + this.currentDocumentInfo = Object.assign({}, record) + this.$bus.$emit('sendCurrentClickedDocumentInfo', record) } } } -- Gitblit v1.9.3