diff --git a/src/views/train/synInfo/components/sendUtil.vue b/src/views/train/synInfo/components/sendUtil.vue index 423825c..177cbaf 100644 --- a/src/views/train/synInfo/components/sendUtil.vue +++ b/src/views/train/synInfo/components/sendUtil.vue @@ -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 => {