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
946962b6
Commit
946962b6
authored
May 27, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 采购竞价 修改字段
parent
f9f29378
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
index.tsx
...ty/components/detail/components/bidDetailLayout/index.tsx
+9
-4
index.tsx
...s/detail/components/lowestQuotationRecordLayout/index.tsx
+1
-1
index.tsx
...es/transaction/purchaseAbility/onlineBid/detail/index.tsx
+1
-1
No files found.
src/pages/transaction/purchaseAbility/components/detail/components/bidDetailLayout/index.tsx
View file @
946962b6
...
...
@@ -37,6 +37,7 @@ const BidDetailLayout: React.FC<BidDetailLayoutProps> = (props: any) => {
const
columns
:
ColumnType
<
any
>
[]
=
[
{
title
:
'物料编号/名称'
,
key
:
'number'
,
dataIndex
:
'number'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
Space
direction=
'vertical'
>
...
...
@@ -45,12 +46,13 @@ const BidDetailLayout: React.FC<BidDetailLayoutProps> = (props: any) => {
</
Space
>
)
},
{
title
:
'规格型号'
,
dataIndex
:
'model'
,
},
{
title
:
'品类'
,
dataIndex
:
'category'
,
},
{
title
:
'品牌'
,
dataIndex
:
'brand'
,
},
{
title
:
'规格型号'
,
key
:
'model'
,
dataIndex
:
'model'
,
},
{
title
:
'品类'
,
key
:
'category'
,
dataIndex
:
'category'
,
},
{
title
:
'品牌'
,
key
:
'brand'
,
dataIndex
:
'brand'
,
},
{
title
:
'采购数量/单位'
,
dataIndex
:
'unit'
,
key
:
'unit'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
Space
direction=
'vertical'
>
<
Text
type=
'secondary'
key=
{
'unit_1'
}
>
{
record
.
purchaseCount
}
</
Text
>
...
...
@@ -61,6 +63,7 @@ const BidDetailLayout: React.FC<BidDetailLayoutProps> = (props: any) => {
{
title
:
'含税/税率'
,
dataIndex
:
'isTax'
,
key
:
'isTax'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
Space
direction=
'vertical'
>
<
Text
type=
'secondary'
key=
{
'isTax_1'
}
>
{
transforType
[
text
]
}
</
Text
>
...
...
@@ -70,12 +73,14 @@ const BidDetailLayout: React.FC<BidDetailLayoutProps> = (props: any) => {
},
{
title
:
'单价(含税)'
,
dataIndex
:
'price'
,
dataIndex
:
'unitPrice'
,
key
:
'unitPrice'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
Text
type=
'secondary'
>
¥
{
priceFormat
(
text
)
}
</
Text
>
},
{
title
:
'金额(含税)'
,
dataIndex
:
'price'
,
key
:
'price'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
Text
type=
'secondary'
>
¥
{
priceFormat
(
text
)
}
</
Text
>
},
]
...
...
src/pages/transaction/purchaseAbility/components/detail/components/lowestQuotationRecordLayout/index.tsx
View file @
946962b6
...
...
@@ -114,7 +114,7 @@ const LowestQuotationRecord: React.FC<TableCommonLayoutProps> = (props: any) =>
</
div
>
<
div
className=
{
selfStyles
.
baseItem
}
>
<
h5
className=
{
selfStyles
.
label
}
>
报价总额(含税):
</
h5
>
<
h5
className=
{
selfStyles
.
content
}
>
{
effect
?.
reportPrice
?
priceFormat
(
effect
?.
reportPrice
)
:
'-'
}
</
h5
>
<
h5
className=
{
selfStyles
.
content
}
>
{
effect
?.
reportPrice
?
`¥ ${priceFormat(effect?.reportPrice)}`
:
'-'
}
</
h5
>
</
div
>
<
StandardTable
currentRef=
{
currentRef
}
...
...
src/pages/transaction/purchaseAbility/onlineBid/detail/index.tsx
View file @
946962b6
...
...
@@ -113,7 +113,7 @@ const SearchDetail = () => {
setResultEffect
([
{
col
:
[
{
label
:
'中标金额(含税)'
,
extra
:
data
?.
sumAwardPrice
?
priceFormat
(
data
?.
sumAwardPrice
)
:
'-'
,
type
:
'text'
},
{
label
:
'中标金额(含税)'
,
extra
:
data
?.
sumAwardPrice
?
`¥
${
priceFormat
(
data
?.
sumAwardPrice
)}
`
: '-', type: 'text' },
{ label: '中标理由', extra: '价格最低', type: 'text' },
]
},
...
...
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