Columna definida afuera
This commit is contained in:
parent
3949cf3400
commit
1eb77be1d0
1 changed files with 40 additions and 42 deletions
|
@ -1,46 +1,44 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="column is-one-third">
|
<div class="fixed-right">
|
||||||
<div class="fixed-right">
|
<table v-show="mostrar_tabla" class="table is-striped is-bordered tabla-chismosa is-narrow">
|
||||||
<table v-show="mostrar_tabla" class="table is-striped is-bordered tabla-chismosa is-narrow">
|
<thead>
|
||||||
<thead>
|
<tr>
|
||||||
<tr>
|
<th>Producto</th>
|
||||||
<th>Producto</th>
|
<th>Cantidad</th>
|
||||||
<th>Cantidad</th>
|
<th><abbr title="Precio Total">$</abbr></th>
|
||||||
<th><abbr title="Precio Total">$</abbr></th>
|
</tr>
|
||||||
</tr>
|
</thead>
|
||||||
</thead>
|
<tfoot>
|
||||||
<tfoot>
|
<tr>
|
||||||
<tr>
|
<th><abbr title="Bonos de Transporte">B. Transporte</abbr></th>
|
||||||
<th><abbr title="Bonos de Transporte">B. Transporte</abbr></th>
|
<th class="has-text-right">{{ cantidad_transporte }}</th>
|
||||||
<th class="has-text-right">{{ cantidad_transporte }}</th>
|
<th class="has-text-right">{{ total_transporte }}</th>
|
||||||
<th class="has-text-right">{{ total_transporte }}</th>
|
</tr>
|
||||||
</tr>
|
<tr v-if="grupo_de_compra.devoluciones_habilitadas">
|
||||||
<tr v-if="grupo_de_compra.devoluciones_habilitadas">
|
<th><p>Devoluciones</p></th>
|
||||||
<th><p>Devoluciones</p></th>
|
<td>
|
||||||
<td>
|
<abbr :title="devoluciones_notas">{{ notas_abreviadas }}</abbr>
|
||||||
<abbr :title="devoluciones_notas">{{ notas_abreviadas }}</abbr>
|
<button @click.capture="toggleDevoluciones()" class="button is-warning is-small">
|
||||||
<button @click.capture="toggleDevoluciones()" class="button is-warning is-small">
|
<span class="icon">
|
||||||
<span class="icon">
|
<i class="fas fa-edit"></i>
|
||||||
<i class="fas fa-edit"></i>
|
</span>
|
||||||
</span>
|
</button>
|
||||||
</button>
|
</td>
|
||||||
</td>
|
<th class="has-text-right">-{{ devoluciones_total }}</th>
|
||||||
<th class="has-text-right">-{{ devoluciones_total }}</th>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<th>Total total</th>
|
||||||
<th>Total total</th>
|
<th></th>
|
||||||
<th></th>
|
<th class="has-text-right">{{ total }}</th>
|
||||||
<th class="has-text-right">{{ total }}</th>
|
</tr>
|
||||||
</tr>
|
</tfoot>
|
||||||
</tfoot>
|
<tbody>
|
||||||
<tbody>
|
<producto-row v-for="producto in productos" :producto="producto" :key="producto.id"></producto-row>
|
||||||
<producto-row v-for="producto in productos" :producto="producto" :key="producto.id"></producto-row>
|
</tbody>
|
||||||
</tbody>
|
</table>
|
||||||
</table>
|
<p class="has-text-centered" v-show="!mostrar_tabla">
|
||||||
<p class="has-text-centered" v-show="!mostrar_tabla">
|
Compa, todavía no agregaste nada a la chismosa.
|
||||||
Compa, todavía no agregaste nada a la chismosa.
|
</p>
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue