Commit f5db3b5a authored by 吴春's avatar 吴春

1

parent 948cfd40
......@@ -869,7 +869,7 @@
},
methods: {
GetCustomerListByKeyWord(query,Type) {
GetCustomerListByKeyWord(query) {
if (query !== '') {
// this.employeeMsg.KeyWord = query;
this.apipost(
......@@ -878,7 +878,7 @@
res => {
if (res.data.resultCode == 1) {
this.customerList = res.data.data;
if(this.customerList.length>0&&Type)this.msg.CustomerId = this.customerList[0].customerId
}
},
err => {}
......@@ -1232,7 +1232,10 @@
}
if(this.$route.query.CustomerName){
this.GetCustomerListByKeyWord(this.$route.query.CustomerName,1);
if(this.$route.query.CustomerId){
this.msg.CustomerId = parseInt(this.$route.query.CustomerId);
}
}
this.getList();
},
......
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