master
fanfan 1 month ago
parent e706a247df
commit 760c9ff83e
  1. 12
      src/views/order/Detail.vue

@ -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))
},

Loading…
Cancel
Save