diff --git a/src/pages/Container/BranchCompany/Inspection/Inspection/Add/components/HiddenAdd/index.js b/src/pages/Container/BranchCompany/Inspection/Inspection/Add/components/HiddenAdd/index.js index 27b91ec..c0df7a2 100644 --- a/src/pages/Container/BranchCompany/Inspection/Inspection/Add/components/HiddenAdd/index.js +++ b/src/pages/Container/BranchCompany/Inspection/Inspection/Add/components/HiddenAdd/index.js @@ -9,7 +9,6 @@ import HiddenLevelSelectTree from "zy-react-library/components/SelectTree/Hidden import HiddenPartSelectTree from "zy-react-library/components/SelectTree/HiddenPart/Gwj"; import Upload from "zy-react-library/components/Upload"; import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; -import { IS_RELATED_ENUM } from "~/enumerate/constant"; import { NS_INSPECTION } from "~/enumerate/namespace"; function HiddenAddModal(props) { @@ -23,12 +22,9 @@ function HiddenAddModal(props) { }); }, [form, props.hiddenInfo]); - const onSubmit = (values) => { - - props.onConfirm({ - ...submitValues, + ...values, hiddenPartType, hiddenFindTime: dayjs().format("YYYY-MM-DD HH:mm:ss"), rectificationType: 2,