diff --git a/src/views/modules/quote/detail/primary/quoteDetailBom.vue b/src/views/modules/quote/detail/primary/quoteDetailBom.vue index 4071caf..916a2f3 100644 --- a/src/views/modules/quote/detail/primary/quoteDetailBom.vue +++ b/src/views/modules/quote/detail/primary/quoteDetailBom.vue @@ -294,6 +294,7 @@ export default { }, quoteDetailBom:{}, quoteDetailBomVisible:false, + preValue:undefined, } }, methods: { @@ -486,10 +487,16 @@ export default { this.quoteDetailBom = { ...row, } + this.preValue = row.attritionRate; this.quoteDetailBomVisible = true; } }, - + handleBlur(row){ + if (row.attritionRate === this.preValue) { + this.quoteDetailBomVisible = false; + this.preValue = undefined + } + } }, created() { if (this.quoteDetail && this.quoteDetail.id) { @@ -550,7 +557,7 @@ export default { {{ scope.row[item.columnProp] }}