| @@ -7,6 +7,7 @@ import { | |||||
| Box, | Box, | ||||
| Dialog, DialogTitle, DialogContent, DialogActions, | Dialog, DialogTitle, DialogContent, DialogActions, | ||||
| } from '@mui/material'; | } from '@mui/material'; | ||||
| import DownloadIcon from '@mui/icons-material/Download'; | |||||
| import * as DateUtils from "utils/DateUtils"; | import * as DateUtils from "utils/DateUtils"; | ||||
| import * as FormatUtils from "utils/FormatUtils"; | import * as FormatUtils from "utils/FormatUtils"; | ||||
| import * as StatusUtils from "utils/statusUtils/DnStatus"; | import * as StatusUtils from "utils/statusUtils/DnStatus"; | ||||
| @@ -233,8 +234,11 @@ export default function SearchDemandNote({ recordList, reloadFun }) { | |||||
| }, | }, | ||||
| { | { | ||||
| field: 'filename', | field: 'filename', | ||||
| headerName: 'DN File', | |||||
| width: 220, | |||||
| //headerName: 'DN File', | |||||
| renderHeader: () => ( | |||||
| <><DownloadIcon/>DN File</> | |||||
| ), | |||||
| width: 250, | |||||
| renderCell: (params) => { | renderCell: (params) => { | ||||
| return <Button onClick={onDownloadClick(params)}><u>{params.row.filename}</u></Button>; | return <Button onClick={onDownloadClick(params)}><u>{params.row.filename}</u></Button>; | ||||
| }, | }, | ||||