From 0ba4b8630ae88e7836d20e50b6825b4b4c6fdbd2 Mon Sep 17 00:00:00 2001 From: zelian_wu Date: Thu, 14 Mar 2024 17:20:34 +0800 Subject: [PATCH] =?UTF-8?q?2024-03-14=20=E6=8A=A5=E4=BB=B7=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/quotation/sellForQuotation.vue | 2 +- .../sellForQuotation/quotationDetail/quoteRouting.vue | 7 +++++-- .../modules/quotation/sellForQuotation/quoteDetail.vue | 7 ++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/modules/quotation/sellForQuotation.vue b/src/views/modules/quotation/sellForQuotation.vue index e66a93c..7badfc9 100644 --- a/src/views/modules/quotation/sellForQuotation.vue +++ b/src/views/modules/quotation/sellForQuotation.vue @@ -106,7 +106,7 @@ - + diff --git a/src/views/modules/quotation/sellForQuotation/quotationDetail/quoteRouting.vue b/src/views/modules/quotation/sellForQuotation/quotationDetail/quoteRouting.vue index 7145a96..ba69d01 100644 --- a/src/views/modules/quotation/sellForQuotation/quotationDetail/quoteRouting.vue +++ b/src/views/modules/quotation/sellForQuotation/quotationDetail/quoteRouting.vue @@ -36,7 +36,10 @@ export default { } getBomTreeStructure(params).then(({data})=>{ if (data && data.code === 0){ - this.routingTreeStructure = data.rows + this.routingTreeStructure = data.rows; + this.$nextTick(()=>{ + this.$refs.tree.setCurrentKey(`${this.selectBom[0]}-${this.selectBom[1]}-${this.selectBom[2]}`) + }) }else { this.$message.warning(data.msg) } @@ -50,7 +53,7 @@ export default {