From a62d3c0bbad83e9755c8ded8cc99149c57dd7818 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Wed, 21 Jun 2023 16:30:33 +0900 Subject: [PATCH] =?UTF-8?q?=E5=88=A9=E7=94=A8=E5=AE=9F=E7=B8=BE=E3=81=AB?= =?UTF-8?q?=E9=83=B5=E9=80=81=E4=BE=9D=E9=A0=BC=E4=BB=B6=E6=95=B0=E3=81=AE?= =?UTF-8?q?=E5=88=97=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/custom/hello-techno/use-summary.ts | 1 + .../custom/hello-techno/hooks/useSelectParkingStep.tsx | 2 ++ src/pages/dashboard/use-summary/custom/hello-techno/list.tsx | 5 +++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/api/custom/hello-techno/use-summary.ts b/src/api/custom/hello-techno/use-summary.ts index 2cb985f..3729787 100644 --- a/src/api/custom/hello-techno/use-summary.ts +++ b/src/api/custom/hello-techno/use-summary.ts @@ -18,6 +18,7 @@ export type UseSummary = { parking_name?: string; receipt_order_count: string; + mail_order_count: string; sms_send_count: string; sms_send_cost: string; diff --git a/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useSelectParkingStep.tsx b/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useSelectParkingStep.tsx index 887d26c..ea3162a 100644 --- a/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useSelectParkingStep.tsx +++ b/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useSelectParkingStep.tsx @@ -43,6 +43,7 @@ export default function useSelectParkingStep({ onNext }: Props) { const customerAPI = useAPICall({ apiMethod: getHTCustomers, + backDrop: true, onSuccess: ({ data }) => { const options: AutoCompleteOption[] = data.records.map( ({ customer_code, name }) => { @@ -58,6 +59,7 @@ export default function useSelectParkingStep({ onNext }: Props) { const parkingAPI = useAPICall({ apiMethod: getHTParkings, + backDrop: true, onSuccess: ({ data }) => { const options: AutoCompleteOption[] = data.records.map( ({ parking_management_code, name }) => { diff --git a/src/pages/dashboard/use-summary/custom/hello-techno/list.tsx b/src/pages/dashboard/use-summary/custom/hello-techno/list.tsx index e86f860..73d1602 100644 --- a/src/pages/dashboard/use-summary/custom/hello-techno/list.tsx +++ b/src/pages/dashboard/use-summary/custom/hello-techno/list.tsx @@ -109,6 +109,7 @@ function SearchBox({ table }: CommonProps) { const { callAPI: callGetUseSummaryYYYYMMs } = useAPICall({ apiMethod: getUseSummaryYYYYMMs, + backDrop: true, onSuccess: ({ data: { records } }) => { setYYYYMM(records); }, @@ -199,7 +200,7 @@ function TableBox({ table }: CommonProps) { { id: "customer_name", label: "運営会社名", align: "left" }, { id: "parking_name", label: "駐車場名", align: "left" }, { id: "receipt_order_count", label: "領収証発行件数", align: "left" }, - // { id: "", label: "郵送件数", align: "left" }, + { id: "mail_order_count", label: "郵送依頼件数", align: "left" }, { id: "sms_send_count", label: "SMS送信件数", align: "left" }, ]; const { @@ -271,7 +272,7 @@ function Row({ data }: RowProps) { {data.customer_name} {data.parking_name} {data.receipt_order_count}件 - {/* {data.parking_name} */} + {data.mail_order_count}件 {data.sms_send_count}件 );