Quellcode durchsuchen

領収証番号で検索できるように対応

develop
sosuke.iwabuchi vor 2 Jahren
Ursprung
Commit
d2de07c22f
2 geänderte Dateien mit 9 neuen und 13 gelöschten Zeilen
  1. +1
    -0
      src/api/custom/hello-techno/receipt-issuing-order.ts
  2. +8
    -13
      src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx

+ 1
- 0
src/api/custom/hello-techno/receipt-issuing-order.ts Datei anzeigen

@@ -57,6 +57,7 @@ export type ReceiptIssuingOrdersRequest = {
done?: string;
sms_phone_number?: string;
handler_name?: string;
receipt_no?: string;
};

export type ReceiptIssuingOrdersResponse = {


+ 8
- 13
src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx Datei anzeigen

@@ -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<ReceiptIssuingOrderHTCustom>;
@@ -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) {
<RHFTextField name="parking_name" onBlur={handleBlur} />
</Stack>
</Grid>
{/* <Grid item xs={3} lg={2}>
<Stack>
<Typography>ああ</Typography>
<RHFSelectMuiliple
name="aa"
options={[
{ value: "aaaaaaaaaaaaaaaaa" },
{ value: "bbbbbbbbbbbbbbbbbbbb" },
]}
/>
</Stack>
</Grid> */}
<Grid item xs={3} lg={2}>
<Typography>電話番号</Typography>
<RHFTextField name="sms_phone_number" />
<RHFTextField name="sms_phone_number" onBlur={handleBlur} />
</Grid>
<Grid item xs={3} lg={2}>
<Typography>領収証番号</Typography>
<RHFTextField name="receipt_no" onBlur={handleBlur} />
</Grid>
<Grid item xs={3} lg={2}>
<Typography>受付時刻</Typography>


Laden…
Abbrechen
Speichern