审批人不能选择企业主账号及主账号同级账号

pet_li_6.6 2024-04-24版本
liujun 2024-04-08 15:28:27 +08:00
parent 050d495d47
commit d6f55a5ef2
1 changed files with 5 additions and 0 deletions

View File

@ -190,6 +190,11 @@ export default {
if (!valid) {
this.$message.error('请填写完整信息')
} else {
if (this.form.APPOINT_CORP_ID === this.form.APPOINT_DEPARTMENT_ID) {
this.$message.error('不能选择主部门或主账号')
return
}
this.form.list = this.heirloom
const formData = new FormData()
Object.keys(this.form).map(key => {