diff --git a/src/pages/Evaluation/BidControl/BidControlManager/components/BidDocSmartCheckFormModal.tsx b/src/pages/Evaluation/BidControl/BidControlManager/components/BidDocSmartCheckFormModal.tsx index 2491def..b872537 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/components/BidDocSmartCheckFormModal.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/components/BidDocSmartCheckFormModal.tsx @@ -14,9 +14,11 @@ const BidDocSmartCheckFormModal: React.FC = (pro const [bidDocSmartCheckList, setBidDocSmartCheckList] = useState([]); //查看详情窗口record - const [juryTableShow, setJuryTableShow] = useState(true);// + const [juryTableShow, setJuryTableShow] = useState(true); + //是否显示法人及投标人名称对比结果;false-不显示结果,true-显示结果 - const [checkLegalAndNameResult, setCheckLegalAndNameResult] = useState(true);// + const [checkLegalAndNameResult, setCheckLegalAndNameResult] = useState(true); + var roleId = getSessionRoleData().roleCode; @@ -87,7 +89,7 @@ const BidDocSmartCheckFormModal: React.FC = (pro setCheckLegalAndNameResult(res?.data?.isCheckLegalAndName); if(res?.data?.isCheckOpen){ setJuryTableShow(true); - setBidDocSmartCheckList(res.data.checkResults) + setBidDocSmartCheckList(res.data?.checkResults) } } else { setBidDocSmartCheckList(ret.data);