diff --git a/src/views/emis/EmisBaseTools/TransProductPicker.vue b/src/views/emis/EmisBaseTools/TransProductPicker.vue index 36903155..c533ed93 100644 --- a/src/views/emis/EmisBaseTools/TransProductPicker.vue +++ b/src/views/emis/EmisBaseTools/TransProductPicker.vue @@ -7,6 +7,7 @@ @blur="onBlur" @focus="onFocus" @change="onChange" + @visible-change="visibleChange" @clear="onClear" style="width:100%" > @@ -62,6 +63,12 @@ this.queryData(); }, methods: { + visibleChange(boolean){ + if(boolean){ + this.searchProdCode=null; + this.queryData(); + } + }, onFocus(){ this.isFistInit=false; this.searchProdCode=null; @@ -81,6 +88,8 @@ }, queryData() { + this.optionItems=[]; + // if(!this.transLineCode && !this.isFistInit){ // this.optionItems=[]; // return;