3.30 不满足三家需要填写原因的覆盖范围错误纠正

This commit is contained in:
jl-zhoujl2
2023-03-30 10:45:27 +08:00
parent 3751dde545
commit e4785c89ca
2 changed files with 13 additions and 11 deletions

View File

@ -236,7 +236,7 @@ const PreliminarySummary: React.FC<BidPreliminarySummaryProps> = (props) => {
const getFooterData = () => { const getFooterData = () => {
checkShowData(getRoomId(), getURLInformation('nodeId')).then(response => { checkShowData(getRoomId(), getURLInformation('nodeId')).then(response => {
if (response?.code == 200) { if (response?.code == 200) {
if (response?.data == undefined) { } else { if (response?.data == undefined || response?.data?.id == null) { } else {
setIsShowFoot(true) setIsShowFoot(true)
setRadioValue(response.data?.continueStatus) setRadioValue(response.data?.continueStatus)
if (response.data?.continueStatus == 1) { if (response.data?.continueStatus == 1) {

View File

@ -83,16 +83,18 @@ const BidPreliminarySummary: React.FC<BidPreliminarySummaryProps> = (props) => {
isCheckShow(juryDataParams.assessRoomId).then((res) => { isCheckShow(juryDataParams.assessRoomId).then((res) => {
if (res.code == 200) { if (res.code == 200) {
isShowRef.current = res.data; isShowRef.current = res.data;
let count = 0; if (res.data) {
totalSupplier.forEach((ele: any) => { let count = 0;
if ( totalSupplier.forEach((ele: any) => {
data[data.length - 1].detailList[0].earlyMap[ele.supplierRegisterId].judgesResult == if (
true data[data.length - 1].detailList[0].earlyMap[ele.supplierRegisterId].judgesResult ==
) { true
count = count + 1; ) {
} count = count + 1;
}); }
onSubmit(count); });
onSubmit(count);
}
} }
}); });
//调用数据处理方法并初始化表格 //调用数据处理方法并初始化表格