correccion de codigo

This commit is contained in:
Andres2908 2022-07-19 23:17:45 -05:00
parent 9acf4ee9c2
commit 01b64fc3a8
3 changed files with 3 additions and 12 deletions

View File

@ -64,16 +64,7 @@ export default {
} }
}, },
methods: { methods: {
mostrarBoton() { mostrarBoton() {},
// if (
// this.idStatus != this.equipo.status.id_status ||
// (this.equipo.programa &&
// this.idPrograma != this.equipo.programa.id_programa) ||
// this.idCarrito != this.equipo.carrito.id_carrito
// )
// return false
// return true
},
cambiarStatus(dataSelect, status) { cambiarStatus(dataSelect, status) {
const data = { id_carrito: dataSelect.id_carrito, activo: status } const data = { id_carrito: dataSelect.id_carrito, activo: status }
this.updateIsLoading(true) this.updateIsLoading(true)

View File

@ -21,7 +21,7 @@
rounded rounded
expanded expanded
> >
<optgroup label="Carritos de Crome"> <optgroup label="Carritos de Chromebook">
<option <option
:disabled="!idModulo" :disabled="!idModulo"
v-for="(carrito, index) in carritosC" v-for="(carrito, index) in carritosC"

View File

@ -40,7 +40,7 @@ export default {
components: { TablaEquiCarritos }, components: { TablaEquiCarritos },
props: { props: {
operador: { type: Object, required: true }, operador: { type: Object, required: true },
carritos: { type: Array, require: true }, carritos: { type: Array, required: true },
isLoadingTable: { type: Boolean, required: true }, isLoadingTable: { type: Boolean, required: true },
}, },
data() { data() {