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
72e12dba
Commit
72e12dba
authored
Jan 06, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复退款成功之后弹窗未关闭的问题
parent
b80ed97d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
index.ts
...vice/components/RefundModal/UploadVoucher/schema/index.ts
+12
-5
index.tsx
src/pages/afterService/components/ReturnDetailInfo/index.tsx
+2
-1
No files found.
src/pages/afterService/components/RefundModal/UploadVoucher/schema/index.ts
View file @
72e12dba
/*
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:34
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-01-06 15:04:20
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
{
ISchema
}
from
'@formily/antd'
;
import
{
UPLOAD_TYPE
}
from
'@/constants'
;
import
{
UPLOAD_TYPE
}
from
'@/constants'
;
...
@@ -8,25 +15,25 @@ export const uploadVoucherModalSchema: ISchema = {
...
@@ -8,25 +15,25 @@ export const uploadVoucherModalSchema: ISchema = {
type
:
'object'
,
type
:
'object'
,
'x-component'
:
'mega-layout'
,
'x-component'
:
'mega-layout'
,
'x-component-props'
:
{
'x-component-props'
:
{
labelCol
:
6
,
labelCol
:
4
,
wrapperCol
:
18
,
wrapperCol
:
20
,
labelAlign
:
'left'
,
labelAlign
:
'left'
,
full
:
true
,
full
:
true
,
},
},
properties
:
{
properties
:
{
name
:
{
name
:
{
type
:
'string'
,
type
:
'string'
,
title
:
'账户名称'
,
title
:
'账户名称
:
'
,
'x-component'
:
'Text'
,
'x-component'
:
'Text'
,
},
},
bankAccount
:
{
bankAccount
:
{
type
:
'string'
,
type
:
'string'
,
title
:
'银行账号'
,
title
:
'银行账号
:
'
,
'x-component'
:
'Text'
,
'x-component'
:
'Text'
,
},
},
bankDeposit
:
{
bankDeposit
:
{
type
:
'string'
,
type
:
'string'
,
title
:
'开户行'
,
title
:
'开户行
:
'
,
'x-component'
:
'Text'
,
'x-component'
:
'Text'
,
},
},
fileList
:
{
fileList
:
{
...
...
src/pages/afterService/components/ReturnDetailInfo/index.tsx
View file @
72e12dba
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-11-05 18:02:18
* @Date: 2020-11-05 18:02:18
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-12-29 11:00:2
2
* @LastEditTime: 202
1-01-06 15:05:3
2
* @Description: 退款明细
* @Description: 退款明细
*/
*/
import
React
,
{
useState
}
from
'react'
;
import
React
,
{
useState
}
from
'react'
;
...
@@ -254,6 +254,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
...
@@ -254,6 +254,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
if
(
onRefund
)
{
if
(
onRefund
)
{
onRefund
(
values
).
finally
(()
=>
{
onRefund
(
values
).
finally
(()
=>
{
setSubmitLoading
(
false
);
setSubmitLoading
(
false
);
setRefundModalVisible
(
false
);
});
});
}
}
};
};
...
...
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