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