From d2de07c22f34e0caa347d1c1fb441a3e8c03bfa4 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Thu, 22 Jun 2023 14:27:27 +0900 Subject: [PATCH] =?UTF-8?q?=E9=A0=98=E5=8F=8E=E8=A8=BC=E7=95=AA=E5=8F=B7?= =?UTF-8?q?=E3=81=A7=E6=A4=9C=E7=B4=A2=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hello-techno/receipt-issuing-order.ts | 1 + .../custom/hello-techno/list.tsx | 21 +++++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/api/custom/hello-techno/receipt-issuing-order.ts b/src/api/custom/hello-techno/receipt-issuing-order.ts index 8755247..290fee1 100644 --- a/src/api/custom/hello-techno/receipt-issuing-order.ts +++ b/src/api/custom/hello-techno/receipt-issuing-order.ts @@ -57,6 +57,7 @@ export type ReceiptIssuingOrdersRequest = { done?: string; sms_phone_number?: string; handler_name?: string; + receipt_no?: string; }; export type ReceiptIssuingOrdersResponse = { diff --git a/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx b/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx index 057c1b4..9a47b68 100644 --- a/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx +++ b/src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx @@ -88,6 +88,7 @@ type FormProps = { handler_name: string; order_date_from: Date | null; order_date_to: Date | null; + receipt_no: string; }; type CommonProps = { table: UseTableReturn; @@ -116,6 +117,7 @@ function SearchBox({ table }: CommonProps) { handler_name: "", order_date_from: null, order_date_to: null, + receipt_no: "", }, }); @@ -181,6 +183,7 @@ function SearchBox({ table }: CommonProps) { form.setValue("sms_phone_number", get("sms_phone_number")); form.setValue("order_date_from", dateParse(get("order_date_from"))); form.setValue("order_date_to", dateParse(get("order_date_to"))); + form.setValue("receipt_no", get("receipt_no")); } }, [initialized, condition]); @@ -249,21 +252,13 @@ function SearchBox({ table }: CommonProps) { - {/* - - ああ - - - */} 電話番号 - + + + + 領収証番号 + 受付時刻