delivery-back-address.vue
680 Bytes
<template>
<layout-app class="address-wrapper" title="商品回寄地址">
<SellOrderAddress :isOnlyShowBack="true" />
</layout-app>
</template>
<script>
import SellOrderAddress from "./order-detail/components/sell-order-address-info";
import { createNamespacedHelpers } from "vuex";
const { mapActions } = createNamespacedHelpers("order/orderDetail");
export default {
components: {
SellOrderAddress
},
activated() {
const { code } = this.$route.params;
this.fetchOrderDetail({ code, owner: "sell" });
},
methods: {
...mapActions(["fetchOrderDetail"])
}
};
</script>
<style lang="scss" scoped>
.address-wrapper {
padding: 40px;
}
</style>