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 {