diff --git a/src/pages/Evaluation/BidControl/BidControlManager/index.tsx b/src/pages/Evaluation/BidControl/BidControlManager/index.tsx index a3a60e7..a93f37e 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/index.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/index.tsx @@ -18,6 +18,8 @@ const Sing: React.FC<{}> = () => { const defId = getDefId(); //是否显示智企查 const [isShowZQC, setIsShowZQC] = useState(false); + //是否显示供应商成立时间预警 + const [isShowTimeWarning, setIsShowTimeWarning] = useState(false); useEffect(() => { const tpId = getSessionProjectData()?.id; @@ -33,13 +35,14 @@ const Sing: React.FC<{}> = () => { } } }); + setIsShowTimeWarning(!(openTime && (openTime < "2023-05-09 23:59:59"))); }, []) return ( <> {/**智企查-供应商关联关系疑似违规行为*/} {((defId != "negotiation_single") && (defId != "recruit_multi") && (defId != "inquiry") && isShowZQC) && } {/**供应商成立时间预警*/} - + {isShowTimeWarning && } {/**投标文件制作地址日志信息查看*/} {/**供应商报价完全一致或存在规律性差异预警*/} diff --git a/src/pages/Evaluation/BidControl/Jury/index.tsx b/src/pages/Evaluation/BidControl/Jury/index.tsx index dee694a..bd959fc 100644 --- a/src/pages/Evaluation/BidControl/Jury/index.tsx +++ b/src/pages/Evaluation/BidControl/Jury/index.tsx @@ -14,6 +14,8 @@ const Sing: React.FC<{}> = () => { const defId = getDefId(); //是否显示智企查 const [isShowZQC, setIsShowZQC] = useState(false); + //是否显示供应商成立时间预警 + const [isShowTimeWarning, setIsShowTimeWarning] = useState(false); useEffect(() => { const tpId = getSessionProjectData()?.id; @@ -29,6 +31,7 @@ const Sing: React.FC<{}> = () => { } } }); + setIsShowTimeWarning(!(openTime && (openTime < "2023-05-09 23:59:59"))); }, []) return ( @@ -36,7 +39,7 @@ const Sing: React.FC<{}> = () => { {//智企查-供应商关联关系疑似违规行为 ((defId != "negotiation_single") && (defId != "recruit_multi") && (defId != "inquiry") && isShowZQC) && } {//供应商成立时间预警 - } + isShowTimeWarning && } {//投标文件制作地址日志信息查看 } {//供应商报价完全一致或存在规律性差异预警