...
|
...
|
@@ -93,8 +93,13 @@ export default { |
|
|
this.fetchData();
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(["fetchOrderList", "cancelTradeConfirmInfo", "cancelTrade"]),
|
|
|
...mapMutations(["setOrderStatus"]),
|
|
|
...mapActions([
|
|
|
"fetchOrderList",
|
|
|
"cancelTradeConfirmInfo",
|
|
|
"cancelTrade",
|
|
|
"deleteOrder"
|
|
|
]),
|
|
|
...mapMutations(["setOrderStatus", "filterOrderList"]),
|
|
|
...orderMapMutations(["reset"]),
|
|
|
fetchMore() {
|
|
|
this.fetchOrderList(this.$route.params);
|
...
|
...
|
@@ -130,6 +135,9 @@ export default { |
|
|
orderCode,
|
|
|
owner
|
|
|
});
|
|
|
if (isOk) {
|
|
|
this.filterOrderList(orderCode);
|
|
|
}
|
|
|
const txt = isOk ? "删除成功" : "删除失败";
|
|
|
this.$createToast({ txt, type: "txt" }).show();
|
|
|
}
|
...
|
...
|
|