Commit 56ca55db by 刘泽奇

123

parent 25279034
var tmpl=` var tmpl=`
/**说明:添加了获取焦点时显示历史客户的功能 目前应用于agencytmreg页面 */ /**说明:添加了获取焦点时显示历史客户的功能 目前应用于agencytmreg页面 */
<div> <div>
<el-select style="width:353px" size="small" :value="value" @change="onchange" v-model="sels" clearable <el-select style="width:353px" size="small" :value="value" @change="onchange" @blur="blur" v-model="sels" clearable
@focus="focus" @focus="focus"
:placeholder="placeHolder" :placeholder="placeHolder"
:default-first-option="isFirstDefault" :default-first-option="isFirstDefault"
...@@ -89,6 +89,11 @@ module.exports= ...@@ -89,6 +89,11 @@ module.exports=
this.fetchHistoryData(); this.fetchHistoryData();
} }
}, },
blur(){
this.$emit("input",this.sels);
},
fetchHistoryData(){ fetchHistoryData(){
console.log("this.frombrowser"); console.log("this.frombrowser");
console.log(this.frombrowser); console.log(this.frombrowser);
......
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