|
|
@ -599,13 +599,13 @@ export default { |
|
|
|
this.isLoading = true |
|
|
|
this.isLoading = true |
|
|
|
Api.forceCancel({ orderId }) |
|
|
|
Api.forceCancel({ orderId }) |
|
|
|
.then((result) => { |
|
|
|
.then((result) => { |
|
|
|
if (result.status==200) { |
|
|
|
if (result.status == 200) { |
|
|
|
this.$message.success('强制取消成功', 1.5) |
|
|
|
this.$message.success(result.message, 1.5) |
|
|
|
}else{ |
|
|
|
|
|
|
|
this.$message.fail ('强制取消失败', 1.5) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 初始化数据 |
|
|
|
// 初始化数据 |
|
|
|
// this.initData() |
|
|
|
this.getDetail() |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.fail(result.message, 1.5) |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
.finally(() => (this.isLoading = false)) |
|
|
|
.finally(() => (this.isLoading = false)) |
|
|
|
}, |
|
|
|
}, |
|
|
|