半成品盘点

This commit is contained in:
2023-07-03 14:11:31 +08:00
parent 8f43c079b9
commit 6e5fb6b057
14 changed files with 221 additions and 26 deletions

View File

@@ -36,8 +36,10 @@ export default {
},
created () {
this.$store.dispatch('setMaterObj', '')
this.$store.dispatch('setMaterArr', [])
this.$store.dispatch('setKeepAlive', [])
localStorage.removeItem('materObj')
localStorage.removeItem('materArr')
localStorage.removeItem('keepAlive')
this._authority()
},
@@ -55,7 +57,7 @@ export default {
toPage2 (e) {
let url = e.path
let name = url.substr(1)
if (name === 'semifinishedinstore' || name === 'semifinishedoutstore') {
if (name === 'semifinishedinstore' || name === 'semifinishedoutstore' || name === 'semifinishedcheck') {
this.$store.dispatch('setKeepAlive', [name])
}
this.$router.push(url)