|
|
@@ -88,6 +88,7 @@ type FormProps = { |
|
|
handler_name: string; |
|
|
handler_name: string; |
|
|
order_date_from: Date | null; |
|
|
order_date_from: Date | null; |
|
|
order_date_to: Date | null; |
|
|
order_date_to: Date | null; |
|
|
|
|
|
receipt_no: string; |
|
|
}; |
|
|
}; |
|
|
type CommonProps = { |
|
|
type CommonProps = { |
|
|
table: UseTableReturn<ReceiptIssuingOrderHTCustom>; |
|
|
table: UseTableReturn<ReceiptIssuingOrderHTCustom>; |
|
|
@@ -116,6 +117,7 @@ function SearchBox({ table }: CommonProps) { |
|
|
handler_name: "", |
|
|
handler_name: "", |
|
|
order_date_from: null, |
|
|
order_date_from: null, |
|
|
order_date_to: 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("sms_phone_number", get("sms_phone_number")); |
|
|
form.setValue("order_date_from", dateParse(get("order_date_from"))); |
|
|
form.setValue("order_date_from", dateParse(get("order_date_from"))); |
|
|
form.setValue("order_date_to", dateParse(get("order_date_to"))); |
|
|
form.setValue("order_date_to", dateParse(get("order_date_to"))); |
|
|
|
|
|
form.setValue("receipt_no", get("receipt_no")); |
|
|
} |
|
|
} |
|
|
}, [initialized, condition]); |
|
|
}, [initialized, condition]); |
|
|
|
|
|
|
|
|
@@ -249,21 +252,13 @@ function SearchBox({ table }: CommonProps) { |
|
|
<RHFTextField name="parking_name" onBlur={handleBlur} /> |
|
|
<RHFTextField name="parking_name" onBlur={handleBlur} /> |
|
|
</Stack> |
|
|
</Stack> |
|
|
</Grid> |
|
|
</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}> |
|
|
<Grid item xs={3} lg={2}> |
|
|
<Typography>電話番号</Typography> |
|
|
<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> |
|
|
<Grid item xs={3} lg={2}> |
|
|
<Grid item xs={3} lg={2}> |
|
|
<Typography>受付時刻</Typography> |
|
|
<Typography>受付時刻</Typography> |
|
|
|