Commit 4b31ba39 by 胡悦

修复一客一群问题

1 parent 078ccbc8
......@@ -99,6 +99,7 @@ export default {
this.selectEmp.forEach((itm, index) => {
if (itm.staffId == item.id) {
this.$refs.followTable.$refs.salelistMutiTable.toggleRowSelection(item)
this.selectEmp.splice(index, 1)
}
})
if (this.checkSelect) this.tableParams.checkSelectVal = this.checkSelect
......@@ -136,13 +137,13 @@ export default {
this.loading = true
let selectEmp = this.selectEmp.map(item => {
return {
relationId: item.staffId,
id: item.staffId,
staffName: item.staffName
}
})
const selectItem = this.selectItem.concat(selectEmp)
if (selectItem.length == 0) {
this.$message.error('请选择员工')
this.$message.error('请选择跟进专员')
return
}
this.loading = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!