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
黄庭坚
jinfa-platform
Commits
3e0d0f4e
Commit
3e0d0f4e
authored
Jul 12, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [12447]
parent
8e180a7e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
7 deletions
+36
-7
index.less
...y/components/detail/components/bidCommonLayout/index.less
+3
-0
index.tsx
...ty/components/detail/components/bidCommonLayout/index.tsx
+30
-4
index.tsx
...es/transaction/purchaseAbility/onlineBid/detail/index.tsx
+1
-1
index.tsx
.../transaction/purchaseAbility/purchaseBid/detail/index.tsx
+2
-2
No files found.
src/pages/transaction/purchaseAbility/components/detail/components/bidCommonLayout/index.less
View file @
3e0d0f4e
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
width: 104px;
width: 104px;
color: #909399;
color: #909399;
margin: 0;
margin: 0;
p{
margin: 0;
}
}
}
.content{
.content{
flex: 1;
flex: 1;
...
...
src/pages/transaction/purchaseAbility/components/detail/components/bidCommonLayout/index.tsx
View file @
3e0d0f4e
...
@@ -39,14 +39,40 @@ const BidCommonLayout: React.FC<BidCommonLayoutProps> = (props: any) => {
...
@@ -39,14 +39,40 @@ const BidCommonLayout: React.FC<BidCommonLayoutProps> = (props: any) => {
return
data
.
extra
?
(<
FilesItem
files=
{
data
.
extra
}
/>)
:
'-'
return
data
.
extra
?
(<
FilesItem
files=
{
data
.
extra
}
/>)
:
'-'
}
}
}
}
const
_returnLabel
=
(
child
:
any
)
=>
{
const
_icon
=
<
QuestionCircleOutlined
style=
{
ICON_STYLE
}
/>;
if
(
child
.
tips
)
{
return
(
<
Tooltip
placement=
"top"
title=
{
child
.
tips
}
>
{
child
.
isMix
?
(
<
p
>
{
child
.
isMix
[
0
]
}{
_icon
}
<
p
>
{
child
.
isMix
[
1
]
}
:
</
p
>
</
p
>
)
:
<
p
>
{
child
.
label
}
:
{
_icon
}
</
p
>
}
</
Tooltip
>
)
}
else
{
if
(
child
.
isMix
)
{
return
(
<>
<
p
>
{
child
.
isMix
[
0
]
}
</
p
>
<
p
>
{
child
.
isMix
[
1
]
}
:
</
p
>
</>
)
}
else
{
return
`
${
child
.
label
}
: `
;
}
}
}
const
_returnChild
=
(
child
,
key
)
=>
{
const
_returnChild
=
(
child
,
key
)
=>
{
if
(
child
.
type
===
'text'
||
child
.
type
===
'area'
||
child
.
type
===
'files'
)
{
if
(
child
.
type
===
'text'
||
child
.
type
===
'area'
||
child
.
type
===
'files'
)
{
return
(
return
(
<
div
className=
{
selfStyles
.
baseItem
}
key=
{
key
}
>
<
div
className=
{
selfStyles
.
baseItem
}
key=
{
key
}
>
<
h5
className=
{
selfStyles
.
label
}
>
<
h5
className=
{
selfStyles
.
label
}
>
{
child
.
tips
?
<
Tooltip
placement=
"top"
title=
{
child
.
tips
}
>
{
_returnLabel
(
child
)
}
{
child
.
label
}
:
<
QuestionCircleOutlined
style=
{
ICON_STYLE
}
/>
</
Tooltip
>
:
`${child.label}: `
}
</
h5
>
</
h5
>
<
h5
className=
{
selfStyles
.
content
}
>
{
_returnItem
(
child
)
}
</
h5
>
<
h5
className=
{
selfStyles
.
content
}
>
{
_returnItem
(
child
)
}
</
h5
>
</
div
>
</
div
>
...
@@ -56,7 +82,7 @@ const BidCommonLayout: React.FC<BidCommonLayoutProps> = (props: any) => {
...
@@ -56,7 +82,7 @@ const BidCommonLayout: React.FC<BidCommonLayoutProps> = (props: any) => {
<
div
className=
{
selfStyles
.
pieItem
}
key=
{
key
}
>
<
div
className=
{
selfStyles
.
pieItem
}
key=
{
key
}
>
<
PieItem
/>
<
PieItem
/>
<
div
className=
{
selfStyles
.
box
}
>
<
div
className=
{
selfStyles
.
box
}
>
<
div
className=
{
selfStyles
.
title
}
>
{
child
.
label
}
:
</
div
>
<
div
className=
{
selfStyles
.
title
}
>
{
child
.
label
}
:
</
div
>
<
div
className=
{
selfStyles
.
price
}
>
¥114,000.00
</
div
>
<
div
className=
{
selfStyles
.
price
}
>
¥114,000.00
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
src/pages/transaction/purchaseAbility/onlineBid/detail/index.tsx
View file @
3e0d0f4e
...
@@ -139,7 +139,7 @@ const SearchDetail = () => {
...
@@ -139,7 +139,7 @@ const SearchDetail = () => {
},
},
{
{
col: [
col: [
{ label: '公开当前最低报价', extra: transforType[data.isOpenPurchase], type: 'text', tips: '选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。' },
{ label: '公开当前最低报价', extra: transforType[data.isOpenPurchase], type: 'text', tips: '选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。'
, isMix: ['公开当前最低', '报价']
},
{ label: '公开报价排名', extra: transforType[data.isOpenRanking], type: 'text', tips: '选择公开报价排名,竞价过程中将供应商当前报价排名在竞价页面即时公开。' },
{ label: '公开报价排名', extra: transforType[data.isOpenRanking], type: 'text', tips: '选择公开报价排名,竞价过程中将供应商当前报价排名在竞价页面即时公开。' },
]
]
},
},
...
...
src/pages/transaction/purchaseAbility/purchaseBid/detail/index.tsx
View file @
3e0d0f4e
...
@@ -173,7 +173,7 @@ const SearchDetail = () => {
...
@@ -173,7 +173,7 @@ const SearchDetail = () => {
},
},
{
{
col
:
[
col
:
[
{
label
:
'公开当前最低报价'
,
extra
:
transforType
[
data
.
isOpenPurchase
],
type
:
'text'
,
tips
:
'选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。'
},
{
label
:
'公开当前最低报价'
,
extra
:
transforType
[
data
.
isOpenPurchase
],
type
:
'text'
,
tips
:
'选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。'
,
isMix
:
[
'公开当前最低'
,
'报价'
]
},
{
label
:
'公开报价排名'
,
extra
:
transforType
[
data
.
isOpenRanking
],
type
:
'text'
,
tips
:
'选择公开报价排名,竞价过程中将供应商当前报价排名在竞价页面即时公开。'
},
{
label
:
'公开报价排名'
,
extra
:
transforType
[
data
.
isOpenRanking
],
type
:
'text'
,
tips
:
'选择公开报价排名,竞价过程中将供应商当前报价排名在竞价页面即时公开。'
},
]
]
},
},
...
@@ -567,7 +567,7 @@ const SearchDetail = () => {
...
@@ -567,7 +567,7 @@ const SearchDetail = () => {
},
[
pathPci
,
awardResult
])
},
[
pathPci
,
awardResult
])
const
_handleBiddingReturn
=
(
signUpIdea
:
string
,
urls
:
any
)
=>
{
const
_handleBiddingReturn
=
(
signUpIdea
:
string
,
urls
:
any
)
=>
{
if
(
confirmLoading
)
{
if
(
confirmLoading
)
{
return
;
return
;
}
}
const
_params
=
{
const
_params
=
{
...
...
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