Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
0842409c
Commit
0842409c
authored
Apr 14, 2022
by
xiexiuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
招标bug修复
parent
4fb9c2e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
index.tsx
src/pages/procurement/components/bidMethod/index.tsx
+6
-6
No files found.
src/pages/procurement/components/bidMethod/index.tsx
View file @
0842409c
...
...
@@ -8,8 +8,8 @@ import BASE_CONFIG from '../../../../../config/base.config.json'
import
{
CALLFORBID_TYPE
,
INVITE_BID
}
from
'@/constants/procurement'
;
import
{
ENTERPRISE_CENTER_URL
}
from
'@/constants'
import
{
getIntl
}
from
'umi'
;
const
shopInfo
=
BASE_CONFIG
.
web
.
shopInfo
const
intl
=
getIntl
();
const
shopInfo
=
BASE_CONFIG
.
web
.
shopInfo
const
intl
=
getIntl
();
/**
* 招标方式
...
...
@@ -19,7 +19,7 @@ export interface BidMethodProps {
cardTitle
?:
string
;
}
const
BidMethod
:
React
.
FC
<
BidMethodProps
>
=
({
cardTitle
})
=>
{
const
BidMethod
:
React
.
FC
<
BidMethodProps
>
=
({
cardTitle
})
=>
{
const
bidDetailContext
=
useContext
(
BidDetailContext
)
const
{
data
:
_data
,
ctl
,
apiType
}
=
bidDetailContext
...
...
@@ -75,7 +75,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => {
return
(
<
MellowCard
title=
{
cardTitle
}
style=
{
{
marginTop
:
24
}
}
style=
{
{
marginTop
:
24
}
}
bordered=
{
false
}
fullHeight
>
...
...
@@ -87,7 +87,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => {
</
div
>
{
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'
]
}
>
<
Row
>
...
...
@@ -96,7 +96,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => {
<
p
>
{
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
(
' / '
)
}
</
p
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment