diff --git a/src/pages/xinrui/production/ProcessSpray.vue b/src/pages/xinrui/production/ProcessSpray.vue index b79b0bd..3ef9537 100644 --- a/src/pages/xinrui/production/ProcessSpray.vue +++ b/src/pages/xinrui/production/ProcessSpray.vue @@ -308,7 +308,7 @@ export default { toPrint1 () { if (this.pkId) { this.$store.dispatch('materObj1', this.pkObj) - this.$store.dispatch('setKeepAlive', ['ChengPinBarrelPrint']) + this.$store.dispatch('setKeepAlive', ['ProcessSpray', 'ChengPinBarrelPrint']) this.$router.push({ path: '/ChengPinBarrelPrint', query: {url: 'ProcessSpray'} diff --git a/src/pages/xinrui/storage/settings/ChengPinBarrelPrint.vue b/src/pages/xinrui/storage/settings/ChengPinBarrelPrint.vue index bc99255..5fc88d9 100644 --- a/src/pages/xinrui/storage/settings/ChengPinBarrelPrint.vue +++ b/src/pages/xinrui/storage/settings/ChengPinBarrelPrint.vue @@ -264,6 +264,7 @@ export default { goIn () { if (this.$route.query.url === 'ProcessSpray') { this.$store.dispatch('materObj1', {}) + this.$store.dispatch('setKeepAlive', ['ProcessSpray']) this.$router.push('/ProcessSpray') } }