半成品入库

This commit is contained in:
2023-09-12 13:33:13 +08:00
parent 7747ec2448
commit c1f74e0fa9
2 changed files with 5 additions and 2 deletions

View File

@@ -38,7 +38,7 @@
export default {
data() {
return {
userName: this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).username : '',
userName: '',
menuList: [
{menu_id: '1', icon: 'RF06', name: '仓储管理', sonTree: [
{menu_id: '1', name: '原辅料收料', path: '/pages/warehouse/RawmaterialRevice'},
@@ -60,6 +60,9 @@
},
created () {
this.$store.dispatch('setPublicObj', '')
if (this.$store.getters.userInfo) {
this.userName = JSON.parse(this.$store.getters.userInfo).username
}
},
methods: {
toPage1 (e) {