Przeglądaj źródła

利用実績一覧 微修正

develop
sosuke.iwabuchi 2 lat temu
rodzic
commit
09bd13b716
1 zmienionych plików z 2 dodań i 18 usunięć
  1. +2
    -18
      src/pages/dashboard/use-summary/custom/hello-techno/list.tsx

+ 2
- 18
src/pages/dashboard/use-summary/custom/hello-techno/list.tsx Wyświetl plik

@@ -135,12 +135,9 @@ function SearchBox({ table }: CommonProps) {
...data,
});
};
const handleBlur = () => {
addCondition(form.getValues());
};

const fetch = async () => {
const sendData = {
...condition,
...form.getValues(),
};

@@ -177,11 +174,6 @@ function SearchBox({ table }: CommonProps) {
<Grid container spacing={2}>
<Grid item xs={3} lg={2}>
<Typography>年月</Typography>
{/* <RHFTextField
name="summary_yyyymm"
placeholder="YYYYMM"
onBlur={handleBlur}
/> */}
<RHFSelect
options={yyyymmOptions}
name="summary_yyyymm"
@@ -274,16 +266,8 @@ type RowProps = {
data: UseSummary;
};
function Row({ data }: RowProps) {
const { navigateWhenChanged } = useNavigateCustom();

const handleClick = () => {
// navigateWhenChanged(getPath(PageID.DASHBOARD_CONTRACT_DETAIL), {
// id: data.id,
// });
};

return (
<TableRow hover sx={{ cursor: "pointer" }} onClick={handleClick}>
<TableRow>
<TableCell>{data.customer_name}</TableCell>
<TableCell>{data.parking_name}</TableCell>
<TableCell>{data.receipt_order_count}件</TableCell>


Ładowanie…
Anuluj
Zapisz