#
luxiaotao1123
2024-09-10 8bd64cd6a3f8721c2b1eb4075e61a1d3381e4aa8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import * as React from 'react';
import {
    EditBase,
    useTranslate,
    TextInput,
    SimpleForm,
    DateField,
    Labeled,
} from 'react-admin';
import { Box, Grid, Stack, IconButton, Typography, Card, CardContent, TextField } from '@mui/material';
import CloseIcon from '@mui/icons-material/Close';
 
const OperationDetail = (props) => {
    const { operation, setDrawerVal, ...rest } = props;
    console.log(operation);
 
    return (
        <>
            <Card>
                <CardContent>
                    <TextField value={JSON.stringify(operation)} maxRows={15} multiline />
                </CardContent>
            </Card>
        </>
    )
}
 
export default OperationDetail;