Commit eff10603 authored by zhengke's avatar zhengke

修改

parent 43fe0a71
......@@ -479,29 +479,22 @@
if(!sub) return this.$message.error('请选择出纳类型!')
let emList = this.addMsg.listArr;
this.addMsg.emList=[];
let arr = [];
emList.forEach(x=>{
this.searchList.forEach(y=>{
if(x==y.Id){
let obj={
EmId:y.Id,
EmIdName:y.EmployeeName
let obj = {
'EmId':y.Id,
'ID':0,
'WindowId':0,
'EmIdName':y.EmployeeName
}
this.addMsg.emList.push(obj);
arr.push(obj);
}
})
})
// let arr = [];
// emList.forEach(x=>{
// let obj = {
// 'EmId':x,
// 'ID':0,
// 'WindowId':0
// }
// arr.push(obj);
// });
// let list4 = this.mergeArray(arr,this.addMsg.emList);
// this.addMsg.emList = list4;
});
let list4 = this.mergeArray(arr,this.addMsg.emList);
this.addMsg.emList = list4;
this.apipost('Window_post_Set',this.addMsg,r=>{
if(r.data.resultCode==1){
this.$message.success(r.data.message);
......
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