喷雾工序打印

This commit is contained in:
2022-07-13 16:05:01 +08:00
parent 2495cc7393
commit 2c81f3c6fe
2 changed files with 2 additions and 1 deletions

View File

@@ -308,7 +308,7 @@ export default {
toPrint1 () { toPrint1 () {
if (this.pkId) { if (this.pkId) {
this.$store.dispatch('materObj1', this.pkObj) this.$store.dispatch('materObj1', this.pkObj)
this.$store.dispatch('setKeepAlive', ['ChengPinBarrelPrint']) this.$store.dispatch('setKeepAlive', ['ProcessSpray', 'ChengPinBarrelPrint'])
this.$router.push({ this.$router.push({
path: '/ChengPinBarrelPrint', path: '/ChengPinBarrelPrint',
query: {url: 'ProcessSpray'} query: {url: 'ProcessSpray'}

View File

@@ -264,6 +264,7 @@ export default {
goIn () { goIn () {
if (this.$route.query.url === 'ProcessSpray') { if (this.$route.query.url === 'ProcessSpray') {
this.$store.dispatch('materObj1', {}) this.$store.dispatch('materObj1', {})
this.$store.dispatch('setKeepAlive', ['ProcessSpray'])
this.$router.push('/ProcessSpray') this.$router.push('/ProcessSpray')
} }
} }