完善预约备注

This commit is contained in:
xianyi
2025-12-26 10:08:49 +08:00
parent dd53918e18
commit fca3b3fa81
2 changed files with 4 additions and 0 deletions

View File

@@ -335,6 +335,9 @@ export const ExamDetailPanel = ({
<div className='col-span-2'>
<span className='text-gray-900'>{client.packageName}</span>
</div>
<div className='col-span-2'>
<span className='text-gray-900'>{loading ? '' : ((client['appointmentRemarks' as keyof ExamClient] as string | null | undefined) || '—')}</span>
</div>
<div className='col-span-2'>
<span className='text-gray-900'>{addonSummary as string}</span>
</div>

View File

@@ -109,6 +109,7 @@ export const ExamPage = () => {
familyDoctorName: item.family_doctor_name || '',
guidePrinted: item.is_print === 1,
addonCount: item.add_item_count ?? 0,
appointmentRemarks: item.appointment_remarks || null,
};
});
setClients(mapped);