6.25 “公开比选一阶段二次项目,供应商为一家时增加可选流程和填写说明”,最低价法增加该流程
This commit is contained in:
@ -6,6 +6,7 @@ import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import { getProMethod, getRoomId } from '@/utils/session';
|
||||
import MACAddressPrompt from '@/pages/Evaluation/BidControl/BidControlManager/components/MACAddressPrompt';
|
||||
import { getSectionDataById } from '@/services/common';
|
||||
|
||||
interface BidPreliminarySummaryProps {
|
||||
totalSupplier?: any;
|
||||
@ -79,11 +80,9 @@ const BidPreliminarySummary: React.FC<BidPreliminarySummaryProps> = (props) => {
|
||||
}).then((response) => {
|
||||
if (response?.code == 200) {
|
||||
const data = response?.data;
|
||||
//判断采购方式是否符合
|
||||
isCheckShow(juryDataParams.assessRoomId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
isShowRef.current = res.data;
|
||||
if (res.data) {
|
||||
getSectionDataById(sessionStorage.getItem("sectionId")).then(res => {//获取当前评审室对应标段的标段信息
|
||||
if (res?.success) {
|
||||
if (isBxOneSecond && (res?.data?.evalMethodDict === "eval_method_1")) {//比选一阶段二次 最低价法 1家合格
|
||||
let count = 0;
|
||||
totalSupplier.forEach((ele: any) => {
|
||||
if (
|
||||
@ -93,10 +92,31 @@ const BidPreliminarySummary: React.FC<BidPreliminarySummaryProps> = (props) => {
|
||||
count = count + 1;
|
||||
}
|
||||
});
|
||||
onSubmit(count);
|
||||
if (count == 1) {
|
||||
onSubmit(1);
|
||||
}
|
||||
} else {
|
||||
//判断采购方式是否符合
|
||||
isCheckShow(juryDataParams.assessRoomId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
isShowRef.current = res.data;
|
||||
if (res.data) {
|
||||
let count = 0;
|
||||
totalSupplier.forEach((ele: any) => {
|
||||
if (
|
||||
data[data.length - 1].detailList[0].earlyMap[ele.supplierRegisterId].judgesResult ==
|
||||
true
|
||||
) {
|
||||
count = count + 1;
|
||||
}
|
||||
});
|
||||
onSubmit(count);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
//调用数据处理方法并初始化表格
|
||||
InitializeTable(pagingSupplier, data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user