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
5f54bc5c
Commit
5f54bc5c
authored
Jan 19, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复审核过后列表没有刷新的问题
parent
e3fccb17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
index.tsx
...fterService/exchangeManage/exchangePrAddDeliver/index.tsx
+12
-3
No files found.
src/pages/afterService/exchangeManage/exchangePrAddDeliver/index.tsx
View file @
5f54bc5c
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-06 16:30:44
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-12-03 17:33:46
* @LastEditTime: 202
1-01-19 14:53:19
* @Description: 待新增换货发货单
*/
import
React
,
{
useState
,
useRef
}
from
'react'
;
...
...
@@ -49,8 +49,17 @@ const ExchangePrAddDeliver: React.FC = () => {
icon
:
<
ExclamationCircleOutlined
/>,
content
:
`是否确认审核换货发货单号为
${
record
.
replaceDeliveryNo
}
的换货发货单?`
,
onOk
()
{
return
PublicApi
.
postAsReplaceGoodsVerifyReplaceDeliveryGoods
({
dataId
:
record
.
replaceId
,
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
postAsReplaceGoodsVerifyReplaceDeliveryGoods
({
dataId
:
record
.
replaceId
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
ref
.
current
.
reload
();
}
resolve
(
res
);
}).
catch
(
err
=>
{
reject
(
err
);
});
});
},
});
...
...
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