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)