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
b72de57e
Commit
b72de57e
authored
Dec 17, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:处理订单详情内部状态显示异常,处理销售待审核订单修改运费后价格总计价格不同步更新的问题
parent
840c58e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.tsx
src/pages/transaction/components/OrderDetailHeader/index.tsx
+1
-1
index.tsx
...es/transaction/components/saleOrderProductTable/index.tsx
+2
-2
No files found.
src/pages/transaction/components/OrderDetailHeader/index.tsx
View file @
b72de57e
...
@@ -38,7 +38,7 @@ const OrderDetailHeader:React.FC<OrderDetailHeaderProps> = ({ extraRight, detail
...
@@ -38,7 +38,7 @@ const OrderDetailHeader:React.FC<OrderDetailHeaderProps> = ({ extraRight, detail
<
Row
>
<
Row
>
{
detailList
.
map
(
v
=>
{
{
detailList
.
map
(
v
=>
{
const
{
label
,
render
,
name
,
...
colProps
}
=
v
const
{
label
,
render
,
name
,
...
colProps
}
=
v
return
detailData
[
name
]
?
<
Col
key=
{
label
}
{
...
colProps
}
className=
{
style
.
detailCol
}
>
return
(
detailData
[
name
]
||
detailData
[
name
]
===
0
)
?
<
Col
key=
{
label
}
{
...
colProps
}
className=
{
style
.
detailCol
}
>
<
span
className=
{
style
.
colLabel
}
>
{
label
}
:
</
span
>
<
span
className=
{
style
.
colLabel
}
>
{
label
}
:
</
span
>
{
render
?
render
(
detailData
[
name
],
detailData
)
:
<
span
>
{
detailData
[
name
]
}
</
span
>
}
{
render
?
render
(
detailData
[
name
],
detailData
)
:
<
span
>
{
detailData
[
name
]
}
</
span
>
}
</
Col
>
:
null
</
Col
>
:
null
...
...
src/pages/transaction/components/saleOrderProductTable/index.tsx
View file @
b72de57e
...
@@ -101,9 +101,9 @@ export const MoneyTotalBox = ({ dataSource, isEditData }) => {
...
@@ -101,9 +101,9 @@ export const MoneyTotalBox = ({ dataSource, isEditData }) => {
// 总计金额
// 总计金额
useEffect
(()
=>
{
useEffect
(()
=>
{
console
.
log
(
sumPrice
||
(
sum
*
1000
+
freePrice
*
1000
)
/
1000
,
'iiiiii'
)
setAmountMoney
(()
=>
sumPrice
||
(
sum
*
1000
+
freePrice
*
1000
)
/
1000
)
setAmountMoney
(()
=>
sumPrice
||
(
sum
*
1000
+
freePrice
*
1000
)
/
1000
)
// setAmountMoney(() => (sum*1000 + freePrice*1000)/1000)
},
[
sum
,
freePrice
,
sumPrice
])
},
[
sum
,
freePrice
])
const
handleConfirm
=
()
=>
{
const
handleConfirm
=
()
=>
{
let
free
=
modalPriceActions
.
getFieldValue
(
'freePrice'
)
let
free
=
modalPriceActions
.
getFieldValue
(
'freePrice'
)
...
...
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