|
|
@ -625,8 +625,15 @@ export default {
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
if (response.code == 20000) {
|
|
|
|
if (response.code == 20000) {
|
|
|
|
this.$message.success(response.data);
|
|
|
|
this.$message.success(response.data);
|
|
|
|
this.getList();
|
|
|
|
for (let i = 0; i < this.list.length; i++) {
|
|
|
|
|
|
|
|
if (this.list[i].id === idQuery.orderId) {
|
|
|
|
|
|
|
|
this.list.splice(i, 1);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.loading = false
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.$message.error(response.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|