Commit bfe0f4b5 by 刘泽奇

123

parent 7717c194
var tmpl=`
/**说明:添加了获取焦点时显示历史客户的功能 目前应用于agencytmreg页面 */
<div>
<el-select style="width:353px" size="small" :value="value" @change="onchange" @blur="blur" v-model="sels" clearable
<el-select style="width:353px" size="small" :value="value" @change="onchange" v-model="sels" clearable
@focus="focus"
:placeholder="placeHolder"
:default-first-option="isFirstDefault"
......@@ -58,18 +58,8 @@ module.exports=
},
watch:{
value:function(v,old){
if(v && this.autoComplete){
var k=this.valueField?this.valueField:"id";
this.refwhere={};
this.refwhere[k]=v;
this.fetchData();
}else{
this.refwhere={};
}
if(v != old){
this.sels = v;
}
value:function(v){
this.sels=v;
},
parentcode:function(v){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment