supplier.js 248 B

123456789101112131415161718
  1. const state = () => ({
  2. supplierInfo: {},
  3. })
  4. const mutations = {
  5. SET_SUPPLIER_INFO(state, supplierInfo) {
  6. state.supplierInfo = supplierInfo
  7. },
  8. }
  9. const actions = {}
  10. export default {
  11. namespaced: true,
  12. state,
  13. mutations,
  14. actions,
  15. }