diff --git a/src/views/biz/judge/JudgeDataDetailForm.jsx b/src/views/biz/judge/JudgeDataDetailForm.jsx index 4a67a47..351455c 100644 --- a/src/views/biz/judge/JudgeDataDetailForm.jsx +++ b/src/views/biz/judge/JudgeDataDetailForm.jsx @@ -1,4 +1,5 @@ import { useState } from 'react'; +import _ from 'lodash'; import PropTypes from 'prop-types'; import NumberFormat from 'react-number-format'; @@ -151,68 +152,34 @@ const ModifyJudgeDataForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav - - - - - - - - - - - - + {_.range(1, 5, 1).map((idx) => ( + + ))} - - - - - - - - - - - - + {_.range(1, 5, 1).map((idx) => ( + + ))} - {/* {_.range(1, 9, 1).map((idx) => { */} - {/* // eslint-disable-next-line no-eval */} - {/* const fName = `rowData.scContad${idx}`; */} - {/* return ( */} - {/* */} - {/* */} - {/* */} - {/* ); */} - {/* })} */} - - - - - - - - - - - - - - - - - - - - - - - - - + {_.range(1, 9, 1).map((idx) => ( + + ))} diff --git a/src/views/biz/judge/JudgeDataModifyForm.jsx b/src/views/biz/judge/JudgeDataModifyForm.jsx index 357a92d..0530e5a 100644 --- a/src/views/biz/judge/JudgeDataModifyForm.jsx +++ b/src/views/biz/judge/JudgeDataModifyForm.jsx @@ -1,4 +1,5 @@ import { useEffect, useState } from 'react'; +import _ from 'lodash'; import PropTypes from 'prop-types'; import NumberFormat from 'react-number-format'; @@ -309,210 +310,55 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav - - - - - - - - - - - - + {_.range(1, 5, 1).map((idx) => ( + + + + ))} - - - - - - - - - - - - + {_.range(1, 5, 1).map((idx) => ( + + + + ))} - - - - - - - - - - - - - - - - - - - - - - - - + {_.range(1, 9, 1).map((idx) => ( + + + + ))} diff --git a/src/views/biz/judge/JudgeDataNewForm.jsx b/src/views/biz/judge/JudgeDataNewForm.jsx index f60ed7f..7cd8660 100644 --- a/src/views/biz/judge/JudgeDataNewForm.jsx +++ b/src/views/biz/judge/JudgeDataNewForm.jsx @@ -1,4 +1,5 @@ import { useState } from 'react'; +import _ from 'lodash'; import PropTypes from 'prop-types'; import NumberFormat from 'react-number-format'; @@ -232,194 +233,52 @@ const JudgeDataNewForm = ({ scDatagb, contDocs, ingbs, handleModalSave }) => { - - - - - - - - - - - - + {_.range(1, 5, 1).map((idx) => ( + + + + ))} - - - - - - - - - - - - + {_.range(1, 5, 1).map((idx) => ( + + + + ))} - - - - - - - - - - - - - - - - - - - - - - - - + {_.range(1, 9, 1).map((idx) => ( + + + + ))}