diff --git a/src/views/wms/team/index.vue b/src/views/wms/team/index.vue index a84f6a3..de31698 100644 --- a/src/views/wms/team/index.vue +++ b/src/views/wms/team/index.vue @@ -432,17 +432,6 @@ export default { this.rightList = []; this.reset(); const teamId = row.teamId || this.ids - // listTeamMembers(this.queryParams).then(response => { - // console.log(response.rows); - // for(let i in response.rows){ - // // 将返回的列表赋值于穿梭框左边列表 - // this.leftList.push({ - // id:response.rows[i].userId, - // key: response.rows[i].userId, - // label: response.rows[i].userName - // }) - // } - // }); console.log('this.leftList',this.leftList); getTeam(teamId).then(response => { this.form = response.data; @@ -471,7 +460,9 @@ export default { this.getList(); }); } else { + this.form.rightData = this.rightList; addTeam(this.form).then(response => { + console.log("打印1",this.rightList,"打印2",this.form.rightData); this.$modal.msgSuccess("新增成功"); this.open = false; this.getList();