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
b148e410
Commit
b148e410
authored
Dec 31, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更改字段名
parent
54b3f06e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
index.tsx
src/pages/afterService/components/GoodsDrawer/index.tsx
+12
-2
No files found.
src/pages/afterService/components/GoodsDrawer/index.tsx
View file @
b148e410
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-04 15:09:09
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-
29 11:32:18
* @LastEditTime: 2020-12-
31 14:29:36
* @Description: 维修商品抽屉组件
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
...
...
@@ -472,7 +472,15 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
payList
:
product
.
payInfoList
?
product
.
payInfoList
.
map
(
item
=>
{
const
{
payPrice
,
payTime
,
payWay
,
channel
,
...
rest
}
=
item
;
const
{
payPrice
,
payTime
,
payWay
,
channel
,
payCode
,
ruleConfigurationId
,
...
rest
}
=
item
;
return
{
payAmount
:
payPrice
,
payTime
:
moment
(
payTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
),
...
...
@@ -480,6 +488,8 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
channel
,
payWayName
:
PAYWAY
[
payWay
],
channelName
:
PAY_CHANNEL
[
channel
],
transactionPayId
:
payCode
,
payRuleId
:
ruleConfigurationId
,
...
rest
,
}
})
:
...
...
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