From e9353e9639ac50735713eb85a8fe0ef7e06afa4f Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 10 三月 2025 13:41:25 +0800 Subject: [PATCH] 1、产品和设备结构树选择节点时可以连续点击相同节点且不会取消选中当前节点 2、产品结构树接口调整,产品结构树节点实体信息通过点击后调取接口获取(仍有bug,点击一次会出现多次重复请求) --- src/views/dnc/base/modules/ProductStructure/Part/PartModal.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dnc/base/modules/ProductStructure/Part/PartModal.vue b/src/views/dnc/base/modules/ProductStructure/Part/PartModal.vue index 54016ff..f9a1acd 100644 --- a/src/views/dnc/base/modules/ProductStructure/Part/PartModal.vue +++ b/src/views/dnc/base/modules/ProductStructure/Part/PartModal.vue @@ -62,8 +62,8 @@ this.$nextTick(() => { if (this.$refs.realForm) { this.$refs.realForm.add({ - productId: this.currentTreeNodeInfo.productId, - componentId: this.currentTreeNodeInfo.componentId + productId: this.currentTreeNodeInfo.entity.productId, + componentId: this.currentTreeNodeInfo.entity.componentId }) } }) -- Gitblit v1.9.3