feat: H5 延期订单可作废,未完成订单直接进入详情继续支付或作废
Some checks failed
构建并部署前端到测试环境 / build-and-deploy (push) Has been cancelled

- 延期订单详情待支付时显示作废订单,作废后可重新办理延期
- 延期页有未完成订单时直接打开该订单详情;作废返回后重新查资格
This commit is contained in:
邹进
2026-11-07 20:33:42 +09:00
parent 0136615502
commit 06ca8af218
3 changed files with 59 additions and 2 deletions

View File

@@ -51,6 +51,16 @@ export const packageSilenceApi = {
});
},
// 作废自己的待支付延期订单(后端先查单,已支付则按支付成功办理并拒绝作废)
cancelOrder(id) {
return request({
url: `${BASE}/orders/${id}/cancel`,
method: 'POST',
data: {},
showError: false
});
},
getRecords(package_usage_id) {
return request({
url: `${BASE}/records`,