优化加项,优化预约备注

This commit is contained in:
xianyi
2026-01-07 18:28:09 +08:00
parent 7d7da4dc4d
commit 5d76faf616
2 changed files with 5 additions and 2 deletions

View File

@@ -563,7 +563,7 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
if (res.Status === 200) { if (res.Status === 200) {
const result = res.Data; const result = res.Data;
if (result === 'success' || result === '1' || result === 'SUCCESS') { if (result === 'true') {
setPaymentMessage('挂账成功,正在生成加项单...'); setPaymentMessage('挂账成功,正在生成加项单...');
setSelectedIds(new Set()); setSelectedIds(new Set());
// 获取本次挂账对应的加项PDF // 获取本次挂账对应的加项PDF

View File

@@ -336,7 +336,10 @@ export const ExamDetailPanel = ({
<span className='text-gray-900'>{client.packageName}</span> <span className='text-gray-900'>{client.packageName}</span>
</div> </div>
<div className='col-span-2'> <div className='col-span-2'>
<span className='text-gray-900'>{loading ? '' : ((client['appointmentRemarks' as keyof ExamClient] as string | null | undefined) || '—')}</span>
<div className='text-gray-900 max-h-12 overflow-y-auto custom-scroll inline-block align-top'>
{loading ? '' : ((client['appointmentRemarks' as keyof ExamClient] as string | null | undefined) || '—')}
</div>
</div> </div>
<div className='col-span-2'> <div className='col-span-2'>
<span className='text-gray-900'>{addonSummary as string}</span> <span className='text-gray-900'>{addonSummary as string}</span>