diff --git a/src/pages/management/RegistrationEventRecordEdit.vue b/src/pages/management/RegistrationEventRecordEdit.vue index 9595a8e..f539bbc 100644 --- a/src/pages/management/RegistrationEventRecordEdit.vue +++ b/src/pages/management/RegistrationEventRecordEdit.vue @@ -38,6 +38,11 @@ @status-change="handleScanStatusChange" /> + !!routeId.value); const pageAccess = computed(() => isEditMode.value ? gaoPermissionCodes.registrationEventRecord.update : gaoPermissionCodes.registrationEventRecord.create); const saveButtonText = computed(() => isEditMode.value ? "保存记录" : "提交"); const selectedCustomer = computed(() => selectedCustomerList.value[0]); +const showSelectedCustomerProfile = computed(() => selectedCustomerList.value.length === 1 && !!selectedCustomer.value?.id); const canSubmit = computed(() => selectedCustomerList.value.some(item => !!item.id) && 0 < selectedRegistrationEventIdList.value.length); const customerDisplayText = computed(() => { if (1 < selectedCustomerList.value.length) {