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
linweijiong
jinfa-platform
Commits
8ccf5975
Commit
8ccf5975
authored
Jul 07, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 在线竞价 报价历史样式
parent
9ff28854
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
index.less
...urchaseAbility/onlineBid/readyBid/detail/offer/index.less
+1
-1
index.tsx
...agement/components/statusBox/detailBottomDrawer/index.tsx
+16
-3
No files found.
src/pages/transaction/purchaseAbility/onlineBid/readyBid/detail/offer/index.less
View file @
8ccf5975
...
...
@@ -4,7 +4,7 @@
font-size: 12px;
color: #909399;
align-items: center;
margin-bottom:
10
px;
margin-bottom:
6.5
px;
.left{
width: 19px;
background-color: #F7F8FA;
...
...
src/pages/transaction/purchaseAbility/purchaseBid/readyBid/management/components/statusBox/detailBottomDrawer/index.tsx
View file @
8ccf5975
...
...
@@ -17,6 +17,11 @@ interface DetailBottomDrawerProps {
detail
:
any
}
const
transforType
=
{
1
:
'是'
,
0
:
'否'
}
const
DetailBottomDrawer
:
React
.
FC
<
DetailBottomDrawerProps
>
=
(
props
:
any
)
=>
{
const
{
visible
,
onClose
,
detail
}
=
props
;
const
{
awardProcess
=
[],
materiels
=
[],
offerCount
,
isOpenPurchase
,
isOpenRanking
}
=
detail
;
...
...
@@ -61,13 +66,21 @@ const DetailBottomDrawer: React.FC<DetailBottomDrawerProps> = (props: any) => {
title
:
'含税/税率'
,
dataIndex
:
'isTax'
,
key
:
'isTax'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
Input
value=
{
record
.
taxRate
}
onChange=
{
(
e
)
=>
{
_changeTax
(
record
,
e
.
target
.
value
)
}
}
addonAfter=
"%"
/>
render
:
(
text
:
any
,
record
:
any
)
=>
(
activeItem
?
<
Space
direction=
'vertical'
>
<
Text
type=
'secondary'
key=
{
'isTax_1'
}
>
{
transforType
[
record
.
isTax
]
}
</
Text
>
<
Text
type=
'secondary'
key=
{
'isTax_2'
}
>
{
record
.
taxRate
?
`${record.taxRate}%`
:
'-'
}
</
Text
>
</
Space
>
:
<
Input
value=
{
record
.
taxRate
}
onChange=
{
(
e
)
=>
{
_changeTax
(
record
,
e
.
target
.
value
)
}
}
addonAfter=
"%"
/>)
},
{
title
:
'单价(含税)'
,
dataIndex
:
'unitPrice'
,
key
:
'unitPrice'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
Input
value=
{
record
.
unitPrice
}
onChange=
{
(
e
)
=>
{
_changeUnitPrice
(
record
,
e
.
target
.
value
)
}
}
addonBefore=
"¥"
/>
render
:
(
text
:
any
,
record
:
any
)
=>
(
activeItem
?
<
Text
type=
'secondary'
key=
{
'unitPrice_1'
}
>
¥
{
priceFormat
(
record
.
unitPrice
)
}
</
Text
>
:
<
Input
value=
{
record
.
unitPrice
}
onChange=
{
(
e
)
=>
{
_changeUnitPrice
(
record
,
e
.
target
.
value
)
}
}
addonBefore=
"¥"
/>)
},
{
title
:
'金额(含税)'
,
...
...
@@ -122,7 +135,7 @@ const DetailBottomDrawer: React.FC<DetailBottomDrawerProps> = (props: any) => {
}
const
bidOk
=
()
=>
{
if
(
btnLoading
)
{
if
(
btnLoading
)
{
return
;
}
const
_price
=
dataSource2
.
reduce
((
total
:
any
,
cur
:
any
)
=>
total
+
Number
(
cur
.
price
),
0
);
...
...
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