Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
934de27a
Commit
934de27a
authored
Jan 11, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:处理资金账户获取对公账户信息异常
parent
999a4aa6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
checkDetails.tsx
src/pages/capitalAccount/checkWithdraw/checkDetails.tsx
+8
-8
paymentDetails.tsx
src/pages/capitalAccount/paymentWithdraw/paymentDetails.tsx
+12
-12
No files found.
src/pages/capitalAccount/checkWithdraw/checkDetails.tsx
View file @
934de27a
...
...
@@ -41,7 +41,7 @@ const CheckDetail: React.FC<{}> = () => {
const
{
code
,
data
}
=
res
setDetails
(
data
)
if
(
code
===
1000
)
{
let
bankRes
=
await
PublicApi
.
getSettleAccountsCorporateAccountConfig
({
memberId
:
data
.
memberId
+
''
}
)
let
bankRes
:
any
=
await
PublicApi
.
getSettleAccountsPlatformConfigGetPlatformAccountConfig
(
)
setBankDetail
(
bankRes
.
data
)
}
}
...
...
@@ -66,7 +66,7 @@ const CheckDetail: React.FC<{}> = () => {
title
:
'交易时间'
,
dataIndex
:
'tradeTime'
,
key
:
'tradeTime'
,
render
:
(
text
:
any
)
=>
moment
(
text
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
render
:
(
text
:
any
)
=>
moment
(
text
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
},
{
title
:
'交易金额(元)'
,
...
...
@@ -116,7 +116,7 @@ const CheckDetail: React.FC<{}> = () => {
}
const
handleCancel
=
()
=>
{
checkForm
.
resetFields
()
checkForm
.
resetFields
()
setVisibleModal
(
false
)
}
...
...
@@ -126,7 +126,7 @@ const CheckDetail: React.FC<{}> = () => {
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
extra=
{
urlParams
.
preview
?
[]
:
[
<
Button
<
Button
icon=
{
<
CheckSquareOutlined
/>
}
key=
"1"
type=
"primary"
...
...
@@ -288,8 +288,8 @@ const CheckDetail: React.FC<{}> = () => {
layout=
"vertical"
form=
{
checkForm
}
>
<
Form
.
Item
name=
"status"
<
Form
.
Item
name=
"status"
label=
""
rules=
{
[
{
...
...
@@ -305,8 +305,8 @@ const CheckDetail: React.FC<{}> = () => {
</
Radio
.
Group
>
</
Form
.
Item
>
{
checkStatus
===
2
&&
<
Form
.
Item
name=
"remark"
checkStatus
===
2
&&
<
Form
.
Item
name=
"remark"
label=
{
'审核不通过原因'
}
rules=
{
[
{
...
...
src/pages/capitalAccount/paymentWithdraw/paymentDetails.tsx
View file @
934de27a
...
...
@@ -48,7 +48,7 @@ const PaymentDetail: React.FC<{}> = () => {
const
{
code
,
data
}
=
res
setDetails
(
data
)
if
(
code
===
1000
)
{
let
bankRes
=
await
PublicApi
.
getSettleAccountsCorporateAccountConfig
({
memberId
:
data
.
memberId
+
''
}
)
let
bankRes
:
any
=
await
PublicApi
.
getSettleAccountsPlatformConfigGetPlatformAccountConfig
(
)
setBankDetail
(
bankRes
.
data
)
}
}
...
...
@@ -62,7 +62,7 @@ const PaymentDetail: React.FC<{}> = () => {
})
})
}
const
columns
:
ColumnType
<
any
>
[]
=
[
{
title
:
'交易流水号'
,
...
...
@@ -73,7 +73,7 @@ const PaymentDetail: React.FC<{}> = () => {
title
:
'交易时间'
,
dataIndex
:
'tradeTime'
,
key
:
'tradeTime'
,
render
:
(
text
:
any
)
=>
moment
(
text
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
render
:
(
text
:
any
)
=>
moment
(
text
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
},
{
title
:
'交易金额(元)'
,
...
...
@@ -143,10 +143,10 @@ const PaymentDetail: React.FC<{}> = () => {
const
cardChange
=
(
value
)
=>
{
console
.
log
(
value
)
setPayParam
(()
=>
{
setPayParam
(()
=>
{
return
{
...
payParam
,
...
value
,
...
value
,
}
})
}
...
...
@@ -222,7 +222,7 @@ const PaymentDetail: React.FC<{}> = () => {
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
/>
}
extra=
{
urlParams
.
preview
?
[]
:
[
<
Button
<
Button
icon=
{
<
CheckSquareOutlined
/>
}
key=
"1"
type=
"primary"
...
...
@@ -382,17 +382,17 @@ const PaymentDetail: React.FC<{}> = () => {
destroyOnClose=
{
true
}
>
{
currentStep
currentStep
?
renderResult
()
:
<>
<
CapitalCardCheckBox
<
CapitalCardCheckBox
cardChange=
{
(
v
)
=>
cardChange
(
v
)
}
name=
"payType"
dataSource=
{
[
{
title
:
'支付方式'
,
title
:
'支付方式'
,
items
:
[
{
id
:
1
,
name
:
'支付宝'
,
logoUrl
:
alipay
},
{
id
:
2
,
name
:
'微信'
,
logoUrl
:
wxpay
},
...
...
@@ -400,7 +400,7 @@ const PaymentDetail: React.FC<{}> = () => {
]
},
//
{
// title: '支付渠道',
// title: '支付渠道',
// items: [
//
{
id
:
4
,
name
:
'线下转账线上确认'
},
// ]
...
...
@@ -412,12 +412,12 @@ const PaymentDetail: React.FC<{}> = () => {
errorTips
.
tipMethod
&&
<
p
className=
{
styles
.
errorTips
}
>
请选择支付方式
</
p
>
}
<
CapitalCardCheckBox
<
CapitalCardCheckBox
cardChange=
{
(
v
)
=>
cardChange
(
v
)
}
name=
"payChannel"
dataSource=
{
[
{
title
:
'支付渠道'
,
title
:
'支付渠道'
,
items
:
[
{
id
:
1
,
name
:
'线下转账线上确认'
},
]
...
...
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