From d6f55a5ef2d9ffae7d039dd433dba9b7be9e9a2c Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 8 Apr 2024 15:28:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E4=BA=BA=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E4=BC=81=E4=B8=9A=E4=B8=BB=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=8F=8A=E4=B8=BB=E8=B4=A6=E5=8F=B7=E5=90=8C=E7=BA=A7=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/train/synInfo/components/sendUtil.vue | 5 +++++ 1 file changed, 5 insertions(+) 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 => {