const state = {
  stockLedgerBaseInfo: {}
}

const mutations = {
  CHANGE_BASEINFO: (state, { key, value }) => {
    // eslint-disable-next-line no-prototype-builtins
    state.stockLedgerBaseInfo[key] = value
  },
  CLEAR_BASEINFO: state => {
    state.stockLedgerBaseInfo = {}
  }
}

const actions = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
