From 2c81f3c6fefd106e15aaf7e0d58982d6b0087061 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 13 Jul 2022 16:05:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=96=B7=E9=9B=BE=E5=B7=A5=E5=BA=8F=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/xinrui/production/ProcessSpray.vue | 2 +- src/pages/xinrui/storage/settings/ChengPinBarrelPrint.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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') } }