Compare commits
2 commits
ca4dd862d0
...
37cebf11ee
Author | SHA1 | Date | |
---|---|---|---|
37cebf11ee | |||
c6059f57e1 |
2 changed files with 2 additions and 3 deletions
|
@ -65,7 +65,7 @@ const actions = {
|
|||
await axios.post(`/api/grupos-de-compra/${state.grupo_de_compra_id}/${caracteristica_id}`);
|
||||
commit('toggleCaracteristica', { caracteristica_id: caracteristica_id })
|
||||
},
|
||||
async abrirFaltantesYSobrantes({ commit, dispatch }) {
|
||||
async abrirFaltantesYSobrantes({ dispatch }) {
|
||||
const { data } = await axios.get(`/admin/${state.grupo_de_compra_id}/faltantes-y-sobrantes`)
|
||||
const pedido = { pedido_id: data.id };
|
||||
dispatch("productos/init", null, { root: true });
|
||||
|
|
|
@ -46,8 +46,7 @@ const mutations = {
|
|||
state.migas.reverse().pop();
|
||||
},
|
||||
migasFaltantesYSobrantes(state) {
|
||||
const migaAdmin = { nombre: 'Administración', action: 'ui/toggleFaltantesYSobrantes' }
|
||||
state.migas[0] = migaAdmin;
|
||||
state.migas[0] = { nombre: 'Administración', action: 'ui/toggleFaltantesYSobrantes' };
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue