carrito
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
<template lang="pug">
|
||||
#app
|
||||
um-header
|
||||
um-header(v-if="!['login'].includes($route.name)")
|
||||
transition(name="router-anim" enter-active-class="animated slideInLeft")
|
||||
router-view
|
||||
</template>
|
||||
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
})
|
||||
.then(response => {
|
||||
swal('Exito', 'Se actualizo', 'success')
|
||||
axios.get(api.url + '/carritos/' + window.localStorage.pcpumaK, {
|
||||
axios.get(api.url + '/carritos/' + window.localStorage.pcpumaK, {
|
||||
headers: {
|
||||
'token': window.localStorage.pcpumaT
|
||||
}
|
||||
@@ -121,11 +121,10 @@ export default {
|
||||
})
|
||||
},
|
||||
setUpdate: function (dt) {
|
||||
//console.log(dt)
|
||||
this.toggleModal()
|
||||
this.carrito.nota=dt.nota
|
||||
this.carrito.id=dt.id
|
||||
this.carrito.baja=dt.baja
|
||||
this.carrito.nota = dt.nota
|
||||
this.carrito.id = dt.id
|
||||
this.carrito.baja = dt.baja
|
||||
},
|
||||
toggleModal: function () {
|
||||
let modal = document.getElementById('modal')
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<template lang="pug">
|
||||
nav.navbar.is-u-blue
|
||||
div.navbar-brand
|
||||
a.navbar-item PC PUMA
|
||||
router-link.navbar-item(to="/") PC PUMA
|
||||
div.navbar-menu
|
||||
div.navbar-start
|
||||
router-link.navbar-item(to="/") Inicio
|
||||
div.navbar-start
|
||||
router-link.navbar-item(to="/equipo") Equipo
|
||||
router-link.navbar-item(to="/carrito") Carrito
|
||||
router-link.navbar-item(to="/usuario") Usuarios
|
||||
|
||||
Reference in New Issue
Block a user