try {
this.tableData.forEach(item => {
if (item.groupNo === form.groupNo) {
throw {code: -9, msg: `${form.groupNo}已存在,不能重复添加`}
}
})
} catch (e) {
if (e && e.code === -9) {
return this.$message.error(e.msg)
}
}