Merge branch 'master' of https://gitlab.jlcucc.com:52302/coscoshipping/fe_service_ebtp_frontend
This commit is contained in:
@ -526,7 +526,7 @@ const Index: React.FC<{}> = () => {
|
|||||||
if (res.data.priceScoreMap.priceConfig.effectiveType == '1') {
|
if (res.data.priceScoreMap.priceConfig.effectiveType == '1') {
|
||||||
setTit1('全部报价')
|
setTit1('全部报价')
|
||||||
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '2') {
|
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '2') {
|
||||||
setTit1('去掉最高和最低各一家后的报价')
|
setTit1('去掉最高'+res.data.priceScoreMap.priceConfig.removeMaxNumber + '家 和 最低' + res.data.priceScoreMap.priceConfig.removeMinNumber + '家的报价')
|
||||||
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '3') {
|
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '3') {
|
||||||
setTit1('去掉最两家高和最低各一家后的报价')
|
setTit1('去掉最两家高和最低各一家后的报价')
|
||||||
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '4') {
|
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '4') {
|
||||||
|
@ -563,7 +563,8 @@ const Index: React.FC<{}> = () => {
|
|||||||
if (res.data.priceScoreMap.priceConfig.effectiveType == '1') {
|
if (res.data.priceScoreMap.priceConfig.effectiveType == '1') {
|
||||||
setTit1('全部报价')
|
setTit1('全部报价')
|
||||||
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '2') {
|
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '2') {
|
||||||
setTit1('去掉最高和最低各一家后的报价')
|
setTit1('去掉最高'+res.data.priceScoreMap.priceConfig.removeMaxNumber + '家 和 最低' + res.data.priceScoreMap.priceConfig.removeMinNumber + '家的报价')
|
||||||
|
// setTit1('去掉最高和最低各一家后的报价')
|
||||||
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '3') {
|
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '3') {
|
||||||
setTit1('去掉最两家高和最低各一家后的报价')
|
setTit1('去掉最两家高和最低各一家后的报价')
|
||||||
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '4') {
|
} else if (res.data.priceScoreMap.priceConfig.effectiveType == '4') {
|
||||||
|
@ -704,6 +704,9 @@ const ClarifyTheList: React.FC<{}> = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const modTenderDocumentRadio = (data: any) => {
|
||||||
|
}
|
||||||
|
|
||||||
const bidOpeningTimeRadio = (data: any) => {
|
const bidOpeningTimeRadio = (data: any) => {
|
||||||
let value = data.target.value;
|
let value = data.target.value;
|
||||||
setBidOpeningTimeFlag(value === '1');
|
setBidOpeningTimeFlag(value === '1');
|
||||||
@ -854,6 +857,16 @@ const ClarifyTheList: React.FC<{}> = () => {
|
|||||||
{
|
{
|
||||||
fieldCheck && (
|
fieldCheck && (
|
||||||
<>
|
<>
|
||||||
|
<Form.Item
|
||||||
|
label={`是否修改招标文件`}
|
||||||
|
name="modTenderDocument"
|
||||||
|
rules={[{ required: true }]}
|
||||||
|
>
|
||||||
|
<Radio.Group onChange={modTenderDocumentRadio} disabled={whetherReadonly}>
|
||||||
|
<Radio value="0">否</Radio>
|
||||||
|
<Radio value="1">是</Radio>
|
||||||
|
</Radio.Group>
|
||||||
|
</Form.Item>
|
||||||
{
|
{
|
||||||
(bidMethodDict === 'procurement_mode_5' || bidMethodDict === 'procurement_mode_6') ? (
|
(bidMethodDict === 'procurement_mode_5' || bidMethodDict === 'procurement_mode_6') ? (
|
||||||
<Form.Item
|
<Form.Item
|
||||||
@ -997,7 +1010,7 @@ const ClarifyTheList: React.FC<{}> = () => {
|
|||||||
label="澄清文件附件"
|
label="澄清文件附件"
|
||||||
name="attDatasetId"
|
name="attDatasetId"
|
||||||
rules={[{
|
rules={[{
|
||||||
required: true,
|
// required: true,
|
||||||
message: '请上传澄清文件!'
|
message: '请上传澄清文件!'
|
||||||
}]}
|
}]}
|
||||||
>
|
>
|
||||||
|
@ -5,7 +5,7 @@ import ProTable from '@ant-design/pro-table';
|
|||||||
import { digitalConversionAmount } from '@/utils/NumberUtils';
|
import { digitalConversionAmount } from '@/utils/NumberUtils';
|
||||||
import { nowExceedSpecifiedTime } from '@/utils/DateUtils';
|
import { nowExceedSpecifiedTime } from '@/utils/DateUtils';
|
||||||
import { getURLInformation, isNotEmpty } from '@/utils/CommonUtils';
|
import { getURLInformation, isNotEmpty } from '@/utils/CommonUtils';
|
||||||
import { cancelOrder, getByOrderId, paySuccess, payTenderFile, saveGenerateOrder, woPay } from '../service';
|
import { cancelOrder, getByOrderId, paySuccess, payTenderFile, saveGenerateOrder, woPay ,queryMarginFees} from '../service';
|
||||||
import { getProMethod, getSessionProjectData} from '@/utils/session';
|
import { getProMethod, getSessionProjectData} from '@/utils/session';
|
||||||
import { isEmpty } from 'lodash';
|
import { isEmpty } from 'lodash';
|
||||||
import { getAllFlowName, getAllFlowNameByRoomType, getbidQualification, moduleName } from '@/utils/FlowUtils';
|
import { getAllFlowName, getAllFlowNameByRoomType, getbidQualification, moduleName } from '@/utils/FlowUtils';
|
||||||
@ -64,6 +64,8 @@ const IParticipate: React.FC = () => {
|
|||||||
//沃支付遮罩
|
//沃支付遮罩
|
||||||
const [spinningModelLoading, setSpinningModelLoading] = useState<boolean>(false);
|
const [spinningModelLoading, setSpinningModelLoading] = useState<boolean>(false);
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
// 存储sectionId列表的状态
|
||||||
|
let sectionIds = '';
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
init();
|
init();
|
||||||
}, []);
|
}, []);
|
||||||
@ -260,7 +262,17 @@ const IParticipate: React.FC = () => {
|
|||||||
*/
|
*/
|
||||||
const settlementOnOk = async () => {
|
const settlementOnOk = async () => {
|
||||||
setSpinningModelLoading(true);
|
setSpinningModelLoading(true);
|
||||||
if (Number(totalOrderAmount) === 0) {
|
let zeroAmountItems = "";
|
||||||
|
//查询biz_bid_expenses表 根据projectId和sectionIds 查询保证金费用是否为0
|
||||||
|
queryMarginFees({ projectId: projectId, sectionIds: sectionIds }).then(res => {
|
||||||
|
if (res.code === 200) {
|
||||||
|
if (res.data) {
|
||||||
|
//amount 为0的数据
|
||||||
|
zeroAmountItems = res.data.filter(item => item.amount === 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
if (Number(totalOrderAmount) === 0 || zeroAmountItems !== null) {
|
||||||
paySuccess(orderNumber).then(res => {
|
paySuccess(orderNumber).then(res => {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
message.success('支付成功!');
|
message.success('支付成功!');
|
||||||
@ -298,7 +310,7 @@ const IParticipate: React.FC = () => {
|
|||||||
}
|
}
|
||||||
}).finally(() => setSpinningModelLoading(false));
|
}).finally(() => setSpinningModelLoading(false));
|
||||||
setOrderSpinning(false);
|
setOrderSpinning(false);
|
||||||
}
|
};
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: '告知',
|
title: '告知',
|
||||||
content: <div>即将离开本系统跳转至【沃钱包-收银台】进行支付,在【沃钱包-收银台】支付前请仔细核对支付信息(包括:<span style={{ color: 'red', fontSize: 30 }}>商品名称、商户名称、订单号、订单金额</span>)是否与本系统订单信息一致。如若需要更改订单,请<span style={{ color: 'red', fontSize: 30 }}>关闭</span>【沃钱包-收银台】页面。</div>,
|
content: <div>即将离开本系统跳转至【沃钱包-收银台】进行支付,在【沃钱包-收银台】支付前请仔细核对支付信息(包括:<span style={{ color: 'red', fontSize: 30 }}>商品名称、商户名称、订单号、订单金额</span>)是否与本系统订单信息一致。如若需要更改订单,请<span style={{ color: 'red', fontSize: 30 }}>关闭</span>【沃钱包-收银台】页面。</div>,
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @FilePath: \ebtp-cloud-frontend\src\pages\IParticipate\service.ts
|
* @FilePath: \ebtp-cloud-frontend\src\pages\IParticipate\service.ts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import request from "@/utils/request";
|
import request from '@/utils/request';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取购标信息
|
* 获取购标信息
|
||||||
@ -61,4 +61,10 @@ export function paySuccess (id:any){
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//保证金费用查询
|
||||||
|
export async function queryMarginFees(params?: any) {
|
||||||
|
return request(`/api/biz-service-ebtp-expenses/v1/bizbidexpenses/queryMarginFees`,{
|
||||||
|
method:'POST',
|
||||||
|
data:{...params,},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
@ -80,11 +80,24 @@ const SupplierQuestionsOrObjections: React.FC<{}> = () => {
|
|||||||
const proceedingTypeByBidMethodDict = getProceedingTypeByBidMethodDict(bidMethodDict);
|
const proceedingTypeByBidMethodDict = getProceedingTypeByBidMethodDict(bidMethodDict);
|
||||||
const proceedingTypeByDefId = getProceedingTypeByDefId(getDefId())
|
const proceedingTypeByDefId = getProceedingTypeByDefId(getDefId())
|
||||||
const [spinning, setSping] = useState<boolean>(false);//加载遮罩
|
const [spinning, setSping] = useState<boolean>(false);//加载遮罩
|
||||||
|
const type = window.location.pathname.includes("SupplierQuestionsOrObjectionsDing");//获取url判断投标、定标提疑
|
||||||
|
|
||||||
const [proceedingTypeSelect] = useState(() => {
|
const [proceedingTypeSelect] = useState(() => {
|
||||||
let arr = proceedingTypeByDefId.map((item: any) =>
|
//根据浏览器rul获取type值false为招标阶段提疑 true为定标阶段提疑
|
||||||
|
//招标阶段 事项类别对应 招标文件异议、招标文件疑问 定标阶段事项类别对应 中标公示疑问、中标公示异议、中标结果疑问、中标结果异议
|
||||||
|
if (!type) {
|
||||||
|
let arr = proceedingTypeByDefId.slice(-2) // 截取最后两个元素
|
||||||
|
.map((item: any) =>
|
||||||
<Option key={item.id} value={item.id}>{item.name}</Option>
|
<Option key={item.id} value={item.id}>{item.name}</Option>
|
||||||
);
|
);
|
||||||
return arr;
|
return arr;
|
||||||
|
}else {
|
||||||
|
let arr = proceedingTypeByDefId.slice(0, 4) // 截取前四个元素
|
||||||
|
.map((item: any) =>
|
||||||
|
<Option key={item.id} value={item.id}>{item.name}</Option>
|
||||||
|
);
|
||||||
|
return arr;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
const [proceedingTypeColumns] = useState(() => {
|
const [proceedingTypeColumns] = useState(() => {
|
||||||
let obj = {};
|
let obj = {};
|
||||||
@ -191,8 +204,6 @@ const SupplierQuestionsOrObjections: React.FC<{}> = () => {
|
|||||||
})
|
})
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查看
|
* 查看
|
||||||
* @param data
|
* @param data
|
||||||
@ -484,14 +495,16 @@ const SupplierQuestionsOrObjections: React.FC<{}> = () => {
|
|||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
pagination={{ defaultPageSize: 10 }}
|
pagination={{ defaultPageSize: 10 }}
|
||||||
params={{ projectId: projectId, roomType: roomType, dissentType: "1" }}
|
params={{ projectId: projectId, roomType: roomType, dissentType: "1" ,type:type}}
|
||||||
actionRef={actionRef}
|
actionRef={actionRef}
|
||||||
columns={columns}
|
columns={columns}
|
||||||
request={params => queryingPagingData('/api/biz-service-ebtp-tender/v1/clarifydissent/supplier_dissents', 'post', params)}
|
request={params => queryingPagingData('/api/biz-service-ebtp-tender/v1/clarifydissent/supplier_dissents', 'post', params)}
|
||||||
search={false}
|
search={false}
|
||||||
options={false}
|
options={false}
|
||||||
toolBarRender={() => [
|
toolBarRender={() => [
|
||||||
<Button key="added" onClick={added} type="primary" hidden={btnAuthority(["ebtp-supplier"])}>
|
<Button key="added" onClick={added} type="primary"
|
||||||
|
hidden={btnAuthority(["ebtp-supplier"])}
|
||||||
|
>
|
||||||
新增
|
新增
|
||||||
</Button>,
|
</Button>,
|
||||||
]}
|
]}
|
||||||
|
@ -19,12 +19,12 @@ export function getProceedingTypeByBidMethodDict(bidMethodDict: string): any[] {
|
|||||||
case 'procurement_mode_1':
|
case 'procurement_mode_1':
|
||||||
case 'procurement_mode_2':
|
case 'procurement_mode_2':
|
||||||
arr = [
|
arr = [
|
||||||
getProceedingType('1', '异议评标结果'),
|
getProceedingType('1', '中标公示疑问'),
|
||||||
getProceedingType('2', '异议开标过程'),
|
getProceedingType('2', '中标公示异议'),
|
||||||
getProceedingType('3', '异议中标公示'),
|
getProceedingType('3', '中标结果疑问'),
|
||||||
getProceedingType('4', '异议中标结果'),
|
getProceedingType('4', '中标结果异议'),
|
||||||
getProceedingType('5', '提疑资格预审文件'),
|
getProceedingType('5', '招标文件异议'),
|
||||||
getProceedingType('6', '提疑招标文件'),
|
getProceedingType('6', '招标文件疑问'),
|
||||||
]
|
]
|
||||||
break;
|
break;
|
||||||
case 'procurement_mode_3':
|
case 'procurement_mode_3':
|
||||||
@ -78,11 +78,12 @@ export function getProceedingTypeByDefId(defId: string): any[] {
|
|||||||
case 'bid_centralized_prequalification_bid':
|
case 'bid_centralized_prequalification_bid':
|
||||||
case 'bid_invitation':
|
case 'bid_invitation':
|
||||||
arr = [
|
arr = [
|
||||||
getProceedingType('1', '异议评标结果'),
|
getProceedingType('1', '中标公示疑问'),
|
||||||
getProceedingType('2', '异议开标结果'),
|
getProceedingType('2', '中标公示异议'),
|
||||||
getProceedingType('3', '异议中标公示'),
|
getProceedingType('3', '中标结果疑问'),
|
||||||
getProceedingType('4', '异议中标结果'),
|
getProceedingType('4', '中标结果异议'),
|
||||||
getProceedingType('6', '提疑招标文件'),
|
getProceedingType('5', '招标文件异议'),
|
||||||
|
getProceedingType('6', '招标文件疑问'),
|
||||||
]
|
]
|
||||||
break;
|
break;
|
||||||
case 'comparison_one_prequalification':
|
case 'comparison_one_prequalification':
|
||||||
|
Reference in New Issue
Block a user