From 7f0632c148744ad7690630a5416e2303eab3ce57 Mon Sep 17 00:00:00 2001 From: Timi Date: Tue, 4 Aug 2026 10:53:54 +0800 Subject: [PATCH] add customer-profile-card --- src/pages/management/RegistrationEventRecordEdit.vue | 7 +++++++ 1 file changed, 7 insertions(+) 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) {