Commit 7d569a44 authored by 前端-彭佳文's avatar 前端-彭佳文

Merge branch 'v2-0418-xxx' into 'v2-220418'

招标bug修复 See merge request linkseeks-design/pro-platform!309
parents c7aa83a7 0842409c
...@@ -8,8 +8,8 @@ import BASE_CONFIG from '../../../../../config/base.config.json' ...@@ -8,8 +8,8 @@ import BASE_CONFIG from '../../../../../config/base.config.json'
import { CALLFORBID_TYPE, INVITE_BID } from '@/constants/procurement'; import { CALLFORBID_TYPE, INVITE_BID } from '@/constants/procurement';
import { ENTERPRISE_CENTER_URL } from '@/constants' import { ENTERPRISE_CENTER_URL } from '@/constants'
import { getIntl } from 'umi'; import { getIntl } from 'umi';
const shopInfo = BASE_CONFIG.web.shopInfo const shopInfo = BASE_CONFIG.web.shopInfo
const intl = getIntl(); const intl = getIntl();
/** /**
* 招标方式 * 招标方式
...@@ -19,7 +19,7 @@ export interface BidMethodProps { ...@@ -19,7 +19,7 @@ export interface BidMethodProps {
cardTitle?: string; cardTitle?: string;
} }
const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => { const BidMethod: React.FC<BidMethodProps> = ({ cardTitle }) => {
const bidDetailContext = useContext(BidDetailContext) const bidDetailContext = useContext(BidDetailContext)
const { data: _data, ctl, apiType } = bidDetailContext const { data: _data, ctl, apiType } = bidDetailContext
...@@ -75,7 +75,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => { ...@@ -75,7 +75,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => {
return ( return (
<MellowCard <MellowCard
title={cardTitle} title={cardTitle}
style={{marginTop: 24}} style={{ marginTop: 24 }}
bordered={false} bordered={false}
fullHeight fullHeight
> >
...@@ -87,7 +87,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => { ...@@ -87,7 +87,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => {
</div> </div>
{ {
data.inviteTenderType === INVITE_BID ? data.inviteTenderType === INVITE_BID ?
<Table dataSource={data.memberList} columns={columns} pagination={{size: "small"}} /> <Table dataSource={data.memberList} columns={columns} pagination={{ size: "small" }} />
: :
<div className={style['card-list']}> <div className={style['card-list']}>
<Row> <Row>
...@@ -96,7 +96,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => { ...@@ -96,7 +96,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => {
<p> <p>
{ {
data.inviteTenderShopList.map(item => { data.inviteTenderShopList.map(item => {
return shopInfo.find(_item => _item.type === item.type && _item.environment === item.environment)['name'] return shopInfo.find(_item => _item.type === item.type && _item.id === item.shopId)['name']
}).join(' / ') }).join(' / ')
} }
</p> </p>
......
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