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

fix: 处理专家抽取管理拒绝传参异常,处理待确认定标合计金额显示异常,处理投标投标详情招标编号跳转异常

parent 47758096
......@@ -60,7 +60,7 @@ const ExtractNoticeManageDetail: React.FC = () => {
}
const handleSubmit = (value) => {
PublicApi.postPurchaseExpertExtractRecordUpdateExpertExtractRecordStatus({...value, id, status: status ? true :false}).then(res => {
PublicApi.postPurchaseExpertExtractRecordUpdateExpertExtractRecordStatus({...value, id, status: status === 1 ? true : (status === 2 ? false : null)}).then(res => {
const { code } = res
if(code === 1000) {
setTimeout(() => {
......
......@@ -70,7 +70,7 @@ export const useSelfTable = () => {
key: 'ctl',
render: (text, record) => <>
{ record.status !== 3 && <Button type='link' onClick={() => history.push(`/memberCenter/procurementAbility/callForBids/extractNoticeManage/detail?id=${record.id}&action=1&status=1`)}>确认</Button> }
{ record.status !== 4 && <Button type='link' onClick={() => history.push(`/memberCenter/procurementAbility/callForBids/extractNoticeManage/detail?id=${record.id}&action=1&status=0`)}>拒绝</Button> }
{ record.status !== 4 && <Button type='link' onClick={() => history.push(`/memberCenter/procurementAbility/callForBids/extractNoticeManage/detail?id=${record.id}&action=1&status=2`)}>拒绝</Button> }
<Button type='link' onClick={() => history.push(`/memberCenter/procurementAbility/callForBids/extractNoticeManage/detail?id=${record.id}`)}>查看</Button>
</>
}
......
......@@ -22,7 +22,7 @@ const baseBidListColumns: any[] = [
dataIndex: ['inviteTender', 'code'],
key: ['inviteTender', 'code'],
render: (text, record) => <>
<EyePreview url={`${history.location.pathname}/detail?id=${record.id}`}>
<EyePreview url={`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.inviteTender.id}`}>
{text}
</EyePreview>
<div>{record.inviteTender.projectName}</div>
......
......@@ -269,7 +269,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
<div className={style['card-list']}>
<Row>
<Col span={8}><p className={style['card-list_title']}>授标总额:</p></Col>
<Col><p>¥{(tableDataSource.reduce((a, b) => a + (b[item.dataIndex]['isAwardTender'] ? (b[item.dataIndex]['price'] * b.count * b[item.dataIndex]['awardRate'] / 100) : 0), 0)).toFixed(2)}(含税)</p></Col>
<Col><p>¥{(tableDataSource.reduce((a, b) => a + (b[item.dataIndex]['isAwardTender'] ? (b[item.dataIndex]['price'] * b.count * b[item.dataIndex]['awardTenderRatio'] / 100) : 0), 0)).toFixed(2)}(含税)</p></Col>
</Row>
</div>
</div>
......
......@@ -124,7 +124,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
{
span: 8,
fieldList: [
{ title: '招标编号:', name: 'code', render: (t) => <a href={`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${_data.inviteTender.id}`} target="_blank">{t}</a> },
{ title: '招标编号:', name: 'code', render: (t) => <a href={`/memberCenter/procurementAbility/tender/callForBidsSearch/detail?id=${_data.inviteTender.id}`} target="_blank">{t}</a> },
{ title: '招标会员:', name: 'memberName' },
{
title: '适用城市:',
......
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