diff --git a/src/views/ReturnDetails.vue b/src/views/ReturnDetails.vue index 8c319927..7e740572 100644 --- a/src/views/ReturnDetails.vue +++ b/src/views/ReturnDetails.vue @@ -164,6 +164,9 @@ export default defineComponent({ const current = await this.store.dispatch('return/setCurrent', { shipmentId: this.$route.params.id }) this.observeProductVisibility(); }, + ionViewDidLeave() { + this.productQoh = {}; + }, computed: { ...mapGetters({ current: 'return/getCurrent', diff --git a/src/views/ShipmentDetails.vue b/src/views/ShipmentDetails.vue index 1a25b800..c20d3209 100644 --- a/src/views/ShipmentDetails.vue +++ b/src/views/ShipmentDetails.vue @@ -164,6 +164,9 @@ export default defineComponent({ await this.store.dispatch('shipment/setCurrent', { shipmentId: this.$route.params.id }) this.observeProductVisibility(); }, + ionViewDidLeave() { + this.productQoh = {}; + }, computed: { ...mapGetters({ current: 'shipment/getCurrent',