Commit bb1cd067 authored by dcy's avatar dcy

佣金修改搜索

parent 7a25916b
......@@ -7,11 +7,8 @@
<el-select
v-model="customerForm.name"
filterable
remote
reserve-keyword
placeholder="请输入关键词"
@change="changefn"
:remote-method="remoteMethod">
@change="changefn">
<el-option
v-for="item in customeList"
:key="item.id"
......@@ -341,6 +338,7 @@ export default {
},
},
created() {
this.getCustomeList();
if(this.$route.params.dictId != 0){
commissionGetByCustomerId(this.$route.params.dictId).then(r => {
if(r.code === 0){
......@@ -402,8 +400,6 @@ export default {
},
remoteMethod(val) {
this.customerForm.name = val;
console.log(val,'customerId')
this.getCustomeList();
},
changefn(val){
console.log(val,'val')
......
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