Commit e1e51b41 authored by zhengke's avatar zhengke

修改

parent 46e03c3f
...@@ -436,7 +436,7 @@ ...@@ -436,7 +436,7 @@
this.$router.push({name:path,query:{Conditon:g,blank:'y'}}) this.$router.push({name:path,query:{Conditon:g,blank:'y'}})
}, },
goUrlDetail(path,type,name,id){ goUrlDetail(path,type,name,id){
this.$router.push({name:path,query:{WindowType:type,name:name,id:id,blank:'y',tab:'出纳窗口单据信息'}}) this.$router.push({path:path,query:{WindowType:type,name:name,id:id,blank:'y',tab:'出纳窗口单据信息'}})
}, },
removeTag(id){ removeTag(id){
this.addMsg.emList.forEach((x,index)=>{ this.addMsg.emList.forEach((x,index)=>{
...@@ -652,7 +652,10 @@ ...@@ -652,7 +652,10 @@
this.addMsg.EmId = item.empId; this.addMsg.EmId = item.empId;
}, },
remoteMethod(query) { remoteMethod(query) {
queryEmployee({}).then(res => { var qMsg = {
EmployeeName: query
}
queryEmployee(qMsg).then(res => {
if(res.Code==1){ if(res.Code==1){
this.searchList = res.Data; this.searchList = res.Data;
} }
...@@ -703,7 +706,7 @@ ...@@ -703,7 +706,7 @@
this.addMsg.listArr = []; this.addMsg.listArr = [];
if(data.emList&&data.emList.length>0){ if(data.emList&&data.emList.length>0){
data.emList.forEach(x=>{ data.emList.forEach(x=>{
this.remoteMethod(x.emName); this.remoteMethod('');
this.addMsg.listArr.push(x.EmId) this.addMsg.listArr.push(x.EmId)
}) })
} }
......
...@@ -445,7 +445,10 @@ ...@@ -445,7 +445,10 @@
}); });
}, },
remoteMethod(query) { remoteMethod(query) {
queryEmployee({}).then(res => { var qMsg = {
EmployeeName: query
}
queryEmployee(qMsg).then(res => {
if(res.Code==1){ if(res.Code==1){
this.searchList = res.Data; this.searchList = res.Data;
} }
...@@ -483,7 +486,7 @@ ...@@ -483,7 +486,7 @@
this.addMsg.TemplateListArr = []; this.addMsg.TemplateListArr = [];
if (data.emList && data.emList.length > 0) { if (data.emList && data.emList.length > 0) {
data.emList.forEach(x => { data.emList.forEach(x => {
this.remoteMethod(x.emName); this.remoteMethod('');
this.addMsg.listArr.push(x.EmId) this.addMsg.listArr.push(x.EmId)
}) })
} }
......
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