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
7f99aabb
Commit
7f99aabb
authored
Mar 25, 2022
by
前端-许冠华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cherry-pick-
d5daf6bd
-2' into 'v2-220318'
Merge branch 'fix-v2' into 'v2' See merge request linkseeks-design/pro-platform!39
parents
2aec1de2
861596e3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
index.tsx
src/pages/logistics/logisticsInfo/index.tsx
+0
-0
productQuote.tsx
...ity/inquiryOffer/waitAddOffer/components/productQuote.tsx
+6
-2
No files found.
src/pages/logistics/logisticsInfo/index.tsx
View file @
7f99aabb
This diff is collapsed.
Click to expand it.
src/pages/transaction/dealAbility/inquiryOffer/waitAddOffer/components/productQuote.tsx
View file @
7f99aabb
...
...
@@ -27,7 +27,7 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
const
count
=
(
num
:
any
,
price
:
any
)
=>
{
let
money
:
any
=
null
;
money
=
(
Number
(
price
)
*
1
)
*
Number
(
num
);
return
Number
(
money
).
toFixed
(
2
)
;
return
Number
(
money
).
toFixed
(
2
)
}
const
handleChange
=
(
id
,
e
)
=>
{
const
{
value
}
=
e
.
target
...
...
@@ -37,6 +37,7 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
v
.
money
=
count
(
v
.
purchaseCount
,
value
);
}
})
console
.
log
(
dataSource
)
setDataSource
([...
dataSource
]);
}
...
...
@@ -104,7 +105,8 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
{
title
:
intl
.
formatMessage
({
id
:
'dealAbility.jine'
}),
key
:
"money"
,
dataIndex
:
"money"
dataIndex
:
"money"
,
render
:
(
text
:
any
)
=>
<>
{
text
}
</>
},
{
title
:
intl
.
formatMessage
({
id
:
'dealAbility.caozuo'
}),
...
...
@@ -221,6 +223,8 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
})
},
[
commoditySkuId
])
console
.
log
(
dataSource
)
return
(
<
Card
id=
"productQuoteLayout"
...
...
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