|
|
|
@ -3,20 +3,17 @@ import _ from 'lodash';
|
|
|
|
|
|
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
|
import NumberFormat from 'react-number-format';
|
|
|
|
|
import { useAlert } from 'react-alert';
|
|
|
|
|
|
|
|
|
|
import { Grid, TextField, MenuItem, Select, FormControl, InputLabel, Divider } from '@mui/material';
|
|
|
|
|
import Button from '@mui/material/Button';
|
|
|
|
|
import { Delete, List } from '@mui/icons-material';
|
|
|
|
|
|
|
|
|
|
import { judgeFileDownload, judgeImgDownload } from 'apis/judge';
|
|
|
|
|
import ImageFileViewForm from '../../../cmm/file-ctl/ImageFileViewForm';
|
|
|
|
|
import CmmImgViewModal from '../../../cmm/CmmImgViewModal';
|
|
|
|
|
import { removeAlert } from '../../../../commons/XitCmm';
|
|
|
|
|
import { judgeImgDownload } from 'apis/judge';
|
|
|
|
|
import ImageFileViewForm from 'views/cmm/file-ctl/ImageFileViewForm';
|
|
|
|
|
import CmmImgViewModal from 'views/cmm/CmmImgViewModal';
|
|
|
|
|
import { removeAlert } from 'commons/XitCmm';
|
|
|
|
|
|
|
|
|
|
const ModifyJudgeDataForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSave, onModify, setDetail }) => {
|
|
|
|
|
const showAlert = useAlert();
|
|
|
|
|
|
|
|
|
|
const [selectedContDoc, setSelectedContDoc] = useState(rowData?.scContDoc);
|
|
|
|
|
const [selectedIngb, setSelectedIngb] = useState(rowData?.scIngb);
|
|
|
|
|
const [childOpen, setChildOpen] = useState(false);
|
|
|
|
@ -253,6 +250,7 @@ ModifyJudgeDataForm.propTypes = {
|
|
|
|
|
ingbs: PropTypes.array.isRequired,
|
|
|
|
|
handleModalSave: PropTypes.func.isRequired,
|
|
|
|
|
setOpen: PropTypes.func.isRequired,
|
|
|
|
|
onModify: PropTypes.func.isRequired
|
|
|
|
|
onModify: PropTypes.func.isRequired,
|
|
|
|
|
setDetail: PropTypes.func
|
|
|
|
|
};
|
|
|
|
|
export default ModifyJudgeDataForm;
|
|
|
|
|