From 9f9835675a6100497315fa5661d4d1c92bc45a53 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Sat, 16 Sep 2023 11:51:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF=E7=8F=AD?= =?UTF-8?q?=E7=BB=84=E7=8F=AD=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/team/index.vue | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/views/wms/team/index.vue b/src/views/wms/team/index.vue index a84f6a3b..de316987 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();