Compare commits
No commits in common. "b4ca119f9a87448d7f6ebaaddf0c7cfda122654f" and "1204a80b3ca8d2a9258255e6a18b78abb0d23825" have entirely different histories.
b4ca119f9a
...
1204a80b3c
|
@ -6,6 +6,7 @@
|
|||
<th>Producto</th>
|
||||
<th><abbr title="Cantidad">C</abbr></th>
|
||||
<th><abbr title="Precio Total">$</abbr></th>
|
||||
<th></th>
|
||||
<th><abbr title="Eliminar"></abbr></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -15,6 +16,7 @@
|
|||
<th class="has-text-right">{{ cantidadBonosDeTransporte }}</th>
|
||||
<th class="has-text-right">{{ totalBonosDeTransporte }}</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<tr v-if="this.$root.devoluciones">
|
||||
<th><p>Devoluciones</p></th>
|
||||
|
@ -27,12 +29,14 @@
|
|||
</span>
|
||||
</button>
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total total</th>
|
||||
<th></th>
|
||||
<th class="has-text-right">{{ total }}</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
|
|
|
@ -70,7 +70,7 @@ export default {
|
|||
<div class="column is-three-quarters">
|
||||
<div class="field has-addons">
|
||||
<div class="control">
|
||||
<button :disabled="cantidad < 1" class="button is-small" @click.capture="decrementar();">
|
||||
<button class="button is-small" @click.capture="decrementar();">
|
||||
<i class="fa fa-solid fa-minus"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -82,7 +82,7 @@ export default {
|
|||
<i class="fa fa-solid fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
<button :disabled="!hayCambios() || cantidad < 0" class="button is-small is-success ml-3" @click="confirmar()">
|
||||
<button :disabled="!hayCambios()" class="button is-small is-success ml-3" @click="confirmar()">
|
||||
<span class="icon">
|
||||
<i class="fas fa-check"></i>
|
||||
</span>
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
<td>{{ this.producto.nombre }}</td>
|
||||
<td class="has-text-right">{{ this.producto.pivot.cantidad }}</td>
|
||||
<td class="has-text-right">{{ Math.ceil(this.producto.pivot.total) }}</td>
|
||||
<td><button @click.capture="seleccionarProducto(producto)" class="button is-warning">
|
||||
<span class="icon">
|
||||
<i class="fas fa-edit"></i>
|
||||
</span>
|
||||
</button></td>
|
||||
<td><button @click.capture="eliminarProducto()" class="button is-danger">
|
||||
<span class="icon">
|
||||
<i class="fas fa-trash-alt"></i>
|
||||
|
@ -10,6 +15,7 @@
|
|||
</button></td>
|
||||
</tr>
|
||||
</template>
|
||||
producto
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
|
|
Loading…
Reference in New Issue