From 39f4d932159124cf424836db8285b52ea0a5f8e4 Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Mon, 12 Aug 2024 17:19:57 +0800 Subject: [PATCH] '123' --- ruoyi-ui/src/views/components/Tools/PeopleSelect/index.vue | 3 ++- ruoyi-ui/src/views/quot/quot/index.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/components/Tools/PeopleSelect/index.vue b/ruoyi-ui/src/views/components/Tools/PeopleSelect/index.vue index 7a2fbec..e00254a 100644 --- a/ruoyi-ui/src/views/components/Tools/PeopleSelect/index.vue +++ b/ruoyi-ui/src/views/components/Tools/PeopleSelect/index.vue @@ -248,7 +248,8 @@ let result = []; uns.forEach(item => { if(this.allUserMap.has(item)) { - var json = {}; + const json = {}; + json.userId = this.allUserMap.get(item).userId || ''; json.userName = this.allUserMap.get(item).userName || ''; json.nickName = this.allUserMap.get(item).nickName || ''; json.sapUserBm = this.allUserMap.get(item).sapUserBm || ''; diff --git a/ruoyi-ui/src/views/quot/quot/index.vue b/ruoyi-ui/src/views/quot/quot/index.vue index 83733fd..20a87ad 100644 --- a/ruoyi-ui/src/views/quot/quot/index.vue +++ b/ruoyi-ui/src/views/quot/quot/index.vue @@ -1660,6 +1660,7 @@ export default { this.$modal.msgSuccess("保存成功"); }); }, + // 保存报价员备注 saveQuotBjyRemark(){ const param = {'quotId':this.form.quotId,'quotBjyRemark':this.form.quotBjyRemark} @@ -1997,7 +1998,7 @@ export default { }, //选择人的确定按钮事件 submitPeople(nikeNamelist)方法传参一个默认接收用户昵称数组 submitPeople(peopleList,nikeNamelist)方法传参两个则是接收用户昵称数组和用户账号数组 submitPeople(peopleList,nickNameList){ - this.selectedPeoples = this.selectedPeoples.concat(nickNameList) + this.selectedPeoples = nickNameList; this.selectedPeoples = this.unique(this.selectedPeoples) this.form.quotSalesmanName = this.selectedPeoples[0].nickName; this.form.quotSalesmanBm = this.selectedPeoples[0].sapUserBm;