From 77273b28b96db48da66f61b014552175edae9b09 Mon Sep 17 00:00:00 2001 From: xianyi Date: Wed, 7 Jan 2026 15:08:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=A0=E9=A1=B9=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/types.ts | 4 +++- src/components/exam/ExamAddonPanel.tsx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index a4b5414..30a890a 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -515,10 +515,12 @@ export type CustomerDetailEditResponse = CommonActionResult { setAddonError(null); try { const res = await searchPhysicalExamAddItem({ + physical_exam_id: Number(client.id), discount_ratio: discountRatio || 1, - item_name: debouncedAddonSearch.trim() || null, + item_name: debouncedAddonSearch.trim() || "", }); if (res.Status === 200 && Array.isArray(res.Data)) { const list: AddonItem[] = res.Data.map((item) => ({