菜单
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import * as types from '../types'
|
||||
import { getStore, setStore } from '@config/utils.js'
|
||||
// import { getStore, setStore } from '@config/utils.js'
|
||||
|
||||
const state = {
|
||||
materObj: {}, // 物料查询-盘点修改
|
||||
hcxCheckObj: {}, // 缓存线盘点 - 盘点修改,
|
||||
defaultActive: getStore('defaultActive') || '1',
|
||||
sideActive: getStore('sideActive') || '1'
|
||||
hcxCheckObj: {} // 缓存线盘点 - 盘点修改
|
||||
}
|
||||
|
||||
const getters = {
|
||||
@@ -20,10 +18,6 @@ const actions = {
|
||||
},
|
||||
hcxCheckObj ({commit}, res) {
|
||||
commit(types.HCX_CHECK_OBJ, res)
|
||||
},
|
||||
getDefaultActive ({commit}, res) {
|
||||
setStore('defaultActive', res)
|
||||
commit(types.GET_DEFAULT_ACTIVE, res)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,9 +27,6 @@ const mutations = {
|
||||
},
|
||||
[types.HCX_CHECK_OBJ] (state, res) {
|
||||
state.hcxCheckObj = res
|
||||
},
|
||||
[types.GET_DEFAULT_ACTIVE] (state, res) {
|
||||
state.defaultActive = res
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user