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;