Commit fa61b6c3 authored by XieZhiXiong's avatar XieZhiXiong

fix: 添加操作成功页面跳转

parent 42ac3e24
......@@ -86,6 +86,10 @@ const ExchangePrConfirmBackVerify: React.FC = () => {
onOk() {
return PublicApi.postAsReplaceGoodsContinueReturnDeliveryGoods({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
}
});
},
});
......@@ -103,6 +107,10 @@ const ExchangePrConfirmBackVerify: React.FC = () => {
onOk() {
return PublicApi.postAsReplaceGoodsContinueReturnDeliveryGoods({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
}
});
},
});
......
......@@ -86,6 +86,10 @@ const ReturnPrConfirmBackVerify: React.FC = () => {
onOk() {
return PublicApi.postAsReturnGoodsContinueReturnDeliveryGoods({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
}
});
},
});
......@@ -103,6 +107,10 @@ const ReturnPrConfirmBackVerify: React.FC = () => {
onOk() {
return PublicApi.postAsReturnGoodsContinueReturnDeliveryGoods({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
}
});
},
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment