From 4e9c74937cb11150789a515a1cf5475118da4149 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 29 Sep 2025 18:00:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entry-and-exit-manage/person-entry/add-or-edit-form.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue b/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue index b9e2cd6..dac008c 100644 --- a/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue +++ b/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue @@ -1671,12 +1671,10 @@ export default { if ( res && Object.keys(res).length > 0 && - res.isShanghai == 0 && + (res.isShanghai == 0 || res.isShanghai == null) && this.formType == 1 ) { - this.$modal.msgError( - '当前人员已经存在入场工程,可直接编辑,正在跳转...', - ) + this.$modal.msgError('当前人员已经存在,可直接编辑,正在跳转...') setTimeout(() => { this.$emit('onOpenAddOrEdit', res.idNumber)