feat(table): sum
This commit is contained in:
@@ -21,8 +21,10 @@ import {
|
||||
Text,
|
||||
TextInput,
|
||||
} from "@mantine/core"
|
||||
import { DateInput } from "@mantine/dates"
|
||||
import { useForm } from "@mantine/form"
|
||||
import { notifications } from "@mantine/notifications"
|
||||
import "dayjs/locale/zh-cn"
|
||||
import { useEffect, useMemo } from "react"
|
||||
import {
|
||||
accountTypeOpts,
|
||||
@@ -365,9 +367,9 @@ export default function DailyReportModal(props: {
|
||||
<Stack gap="md" className={classes.formPanel}>
|
||||
<SimpleGrid cols={{ base: 1, sm: 3 }} spacing="sm">
|
||||
<TextInput label="姓名" value={form.values.user_name} readOnly />
|
||||
<TextInput
|
||||
<DateInput
|
||||
label="日期"
|
||||
type="date"
|
||||
locale="zh-cn"
|
||||
withAsterisk
|
||||
{...form.getInputProps("date")}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user