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
0f2ccf96
Commit
0f2ccf96
authored
Aug 27, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复退款id传错的问题
parent
83536800
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
index.tsx
...ice/components/RefundModal/UploadPaymentVoucher/index.tsx
+1
-6
index.tsx
src/pages/afterService/components/ReturnDetailInfo/index.tsx
+2
-2
No files found.
src/pages/afterService/components/RefundModal/UploadPaymentVoucher/index.tsx
View file @
0f2ccf96
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-09 10:34:18
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-0
6-09 15:53:08
* @LastEditTime: 2021-0
8-27 15:37:47
* @Description: 上传支付凭证
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
...
...
@@ -66,10 +66,6 @@ export type ValueType = {
export
type
SubmitValueType
=
{
/**
* 账户id
*/
id
:
number
,
/**
* 支付凭证 ,PayProveBO
*/
payProve
?:
{
...
...
@@ -194,7 +190,6 @@ const UploadPaymentVoucher: React.FC<IProps> = (props: IProps) => {
return
;
}
onSubmit
({
id
,
payProve
:
{
...
rest
,
fileList
:
fileList
.
map
(
item
=>
item
.
status
===
'done'
&&
({
...
...
src/pages/afterService/components/ReturnDetailInfo/index.tsx
View file @
0f2ccf96
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 18:02:18
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-
12 18:10:38
* @LastEditTime: 2021-08-
27 15:38:04
* @Description: 退款明细
*/
import
React
,
{
useState
}
from
'react'
;
...
...
@@ -317,7 +317,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
const
handlePaymentVoucherSubmit
=
(
value
)
=>
{
if
(
onRefund
)
{
return
onRefund
(
value
);
return
onRefund
(
{
...
value
,
id
:
refundModalValue
.
id
}
);
}
return
Promise
.
reject
();
};
...
...
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