pcpuma_unam_operador/components/operador/Carrito.vue

41 lines
1019 B
Vue
Raw Normal View History

2022-07-05 06:03:20 +00:00
<template>
<section class="mb-5">
<BuscarCarrito
2022-08-05 12:45:31 +00:00
:updateCarrito="updateCarrito"
:updateIsLoading="updateIsLoading"
2022-07-05 06:03:20 +00:00
:operador="operador"
:carrito="carrito"
/>
2022-07-13 05:42:23 +00:00
2022-09-07 16:51:45 +00:00
<b-tabs>
<TabEquiposCarrito :carrito="carrito" />
2022-10-31 07:33:24 +00:00
2023-01-09 03:39:00 +00:00
<TabMotivosCarrito :carrito="carrito" :operador="operador" />
2022-09-07 16:51:45 +00:00
</b-tabs>
2022-07-05 06:03:20 +00:00
</section>
</template>
<script>
2022-07-27 02:33:41 +00:00
import BuscarCarrito from '@/components/buscar/BuscarCarrito'
2022-10-31 07:33:24 +00:00
import TabMotivosCarrito from '@/components/operador/TabMotivosCarrito'
2022-09-07 16:51:45 +00:00
import TabEquiposCarrito from '@/components/operador/TabEquiposCarrito'
2022-07-05 06:03:20 +00:00
export default {
2022-10-31 07:33:24 +00:00
components: { BuscarCarrito, TabEquiposCarrito, TabMotivosCarrito },
2022-08-05 12:45:31 +00:00
props: {
2023-01-09 03:39:00 +00:00
operador: { type: Object, required: true, default: () => ({}) },
updateIsLoading: { type: Function, required: true, default: () => {} },
2022-08-05 12:45:31 +00:00
},
2022-07-05 06:03:20 +00:00
data() {
2023-01-09 03:39:00 +00:00
return { carrito: { modulo: {}, tipoCarrito: {} } }
2022-07-05 06:03:20 +00:00
},
methods: {
2022-07-29 20:40:03 +00:00
updateCarrito(valorObject) {
this.carrito = valorObject
},
2022-07-13 05:42:23 +00:00
},
2022-07-05 06:03:20 +00:00
}
</script>
<style></style>