Commit d3380777 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 招标审核详情未资格预审信息隐藏

parent c7c0bc08
......@@ -60,7 +60,7 @@ const ExtractNoticeManageDetail: React.FC = () => {
}
const handleSubmit = (value) => {
PublicApi.postPurchaseExpertExtractRecordUpdateExpertExtractRecordStatus({...value, id, status: status === 1 ? true : (status === 2 ? false : null)}).then(res => {
PublicApi.postPurchaseExpertExtractRecordUpdateExpertExtractRecordStatus({...value, id, status: status === '1' ? true : (status === '2' ? false : null)}).then(res => {
const { code } = res
if(code === 1000) {
setTimeout(() => {
......
......@@ -53,6 +53,11 @@ const FirstCheckedBidDetail: React.FC = () => {
{ title: '流转记录', id: 'transferRecord', componentName: "BidTransformRecord" },
]
// 勾选资格预审 才有资格预审信息
if(!data?.isQualificationCheck) {
anchorTitleList.forEach((ele, index) => ele['title'] === '资格预审要求' && anchorTitleList.splice(index, 1))
}
return (
<div>
<BidDetailContext.Provider value={formContext}>
......
......@@ -63,6 +63,11 @@ const ReadySubmitBidDetail: React.FC = () => {
{ title: '流转记录', id: 'transferRecord', componentName: "BidTransformRecord" },
]
// 勾选资格预审 才有资格预审信息
if(!data?.isQualificationCheck) {
anchorTitleList.forEach((ele, index) => ele['title'] === '资格预审要求' && anchorTitleList.splice(index, 1))
}
return (
<div>
<BidDetailContext.Provider value={formContext}>
......
......@@ -54,6 +54,11 @@ const SecondCheckedBidDetail: React.FC = () => {
{ title: '流转记录', id: 'transferRecord', componentName: "BidTransformRecord" },
]
// 勾选资格预审 才有资格预审信息
if(!data?.isQualificationCheck) {
anchorTitleList.forEach((ele, index) => ele['title'] === '资格预审要求' && anchorTitleList.splice(index, 1))
}
return (
<div>
<BidDetailContext.Provider value={formContext}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment