...
|
...
|
@@ -35,6 +35,7 @@ export default { |
|
|
async onAction(action) {
|
|
|
const { owner } = this.$route.params;
|
|
|
const { orderCode } = this.order;
|
|
|
const { productId, storageId } = this.order.goodsInfo;
|
|
|
|
|
|
switch (action.name) {
|
|
|
case orderActionsMap.DEL_ORDER.name:
|
...
|
...
|
@@ -52,13 +53,11 @@ export default { |
|
|
}).show();
|
|
|
break;
|
|
|
case orderActionsMap.BUY_AGAIN.name:
|
|
|
const { productId } = this.order.goodsInfo;
|
|
|
this.$router.push({
|
|
|
path: `/xianyu/product/${productId}.html`
|
|
|
});
|
|
|
break;
|
|
|
case orderActionsMap.SOLD_AGAIN.name:
|
|
|
const { productId, storageId } = this.order.goodsInfo;
|
|
|
this.$router.push({
|
|
|
path: "/xianyu/order/sellconfirm.html",
|
|
|
query: { productId, storageId }
|
...
|
...
|
|