Agregado devoluciones-modal
This commit is contained in:
parent
21aa36e3d1
commit
fb0e13089f
1 changed files with 7 additions and 5 deletions
|
@ -1,15 +1,16 @@
|
||||||
<script >
|
<script >
|
||||||
|
import { defineComponent } from "vue";
|
||||||
|
import { mapActions, mapState } from "vuex";
|
||||||
|
import SubpedidoSelect from "./SubpedidoSelect.vue";
|
||||||
import CategoriasContainer from "./CategoriasContainer.vue";
|
import CategoriasContainer from "./CategoriasContainer.vue";
|
||||||
import ProductosContainer from "./ProductosContainer.vue";
|
import ProductosContainer from "./ProductosContainer.vue";
|
||||||
import Chismosa from "./Chismosa.vue";
|
import Chismosa from "./Chismosa.vue";
|
||||||
import { defineComponent } from "vue";
|
import DevolucionesModal from "./DevolucionesModal.vue";
|
||||||
import SubpedidoSelect from "./SubpedidoSelect.vue";
|
|
||||||
import { mapActions, mapState } from "vuex";
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: { SubpedidoSelect, CategoriasContainer, ProductosContainer, Chismosa },
|
components: { DevolucionesModal, SubpedidoSelect, CategoriasContainer, ProductosContainer, Chismosa },
|
||||||
computed: {
|
computed: {
|
||||||
...mapState('ui',["show_chismosa"])
|
...mapState('ui',["show_chismosa","show_devoluciones"])
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions('productos',["init"]),
|
...mapActions('productos',["init"]),
|
||||||
|
@ -25,6 +26,7 @@ export default defineComponent({
|
||||||
<categorias-container :class="show_chismosa ? 'hide-below-1024' : ''"></categorias-container>
|
<categorias-container :class="show_chismosa ? 'hide-below-1024' : ''"></categorias-container>
|
||||||
<productos-container :class="show_chismosa ? 'hide-below-1024' : ''"></productos-container>
|
<productos-container :class="show_chismosa ? 'hide-below-1024' : ''"></productos-container>
|
||||||
<chismosa v-show="show_chismosa"></chismosa>
|
<chismosa v-show="show_chismosa"></chismosa>
|
||||||
|
<devoluciones-modal v-show="show_devoluciones"></devoluciones-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue