md
This commit is contained in:
parent
10022b0ac5
commit
4cd072d9aa
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user