md
This commit is contained in:
parent
10022b0ac5
commit
4cd072d9aa
@ -7,6 +7,7 @@
|
|||||||
@blur="onBlur"
|
@blur="onBlur"
|
||||||
@focus="onFocus"
|
@focus="onFocus"
|
||||||
@change="onChange"
|
@change="onChange"
|
||||||
|
@visible-change="visibleChange"
|
||||||
@clear="onClear"
|
@clear="onClear"
|
||||||
style="width:100%"
|
style="width:100%"
|
||||||
>
|
>
|
||||||
@ -62,6 +63,12 @@
|
|||||||
this.queryData();
|
this.queryData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
visibleChange(boolean){
|
||||||
|
if(boolean){
|
||||||
|
this.searchProdCode=null;
|
||||||
|
this.queryData();
|
||||||
|
}
|
||||||
|
},
|
||||||
onFocus(){
|
onFocus(){
|
||||||
this.isFistInit=false;
|
this.isFistInit=false;
|
||||||
this.searchProdCode=null;
|
this.searchProdCode=null;
|
||||||
@ -81,6 +88,8 @@
|
|||||||
},
|
},
|
||||||
queryData() {
|
queryData() {
|
||||||
|
|
||||||
|
this.optionItems=[];
|
||||||
|
|
||||||
// if(!this.transLineCode && !this.isFistInit){
|
// if(!this.transLineCode && !this.isFistInit){
|
||||||
// this.optionItems=[];
|
// this.optionItems=[];
|
||||||
// return;
|
// return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user