Compare commits
2 commits
686fcf3bd5
...
c58824ff52
Author | SHA1 | Date | |
---|---|---|---|
c58824ff52 | |||
fcb2d2c5bc |
3 changed files with 4 additions and 3 deletions
|
@ -22,7 +22,7 @@ export default {
|
||||||
return this.getPedido(this.pedido_id).aprobado;
|
return this.getPedido(this.pedido_id).aprobado;
|
||||||
},
|
},
|
||||||
mensaje() {
|
mensaje() {
|
||||||
return this.aprobado ? "Pagado" : "No pagado";
|
return this.aprobado ? "Aprobado" : "No aprobado";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<th v-if="devoluciones_habilitadas"><abbr title="Total sin tomar en cuenta las devoluciones">Total parcial $</abbr></th>
|
<th v-if="devoluciones_habilitadas"><abbr title="Total sin tomar en cuenta las devoluciones">Total parcial $</abbr></th>
|
||||||
<th v-if="devoluciones_habilitadas"><abbr title="Devoluciones correspondientes al núcleo">Devoluciones $</abbr></th>
|
<th v-if="devoluciones_habilitadas"><abbr title="Devoluciones correspondientes al núcleo">Devoluciones $</abbr></th>
|
||||||
<th><abbr title="Total a Pagar por el núleo">{{ devoluciones_habilitadas ? 'Total real' : 'Total' }} $</abbr></th>
|
<th><abbr title="Total a Pagar por el núleo">{{ devoluciones_habilitadas ? 'Total real' : 'Total' }} $</abbr></th>
|
||||||
<th class="is-1"><abbr title="Pagado">Pagado</abbr></th>
|
<th class="is-1"><abbr title="Aprobado">Aprobado</abbr></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<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 && !aprobado">
|
||||||
<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>
|
||||||
|
@ -57,6 +57,7 @@ export default {
|
||||||
"cantidad_transporte",
|
"cantidad_transporte",
|
||||||
"devoluciones_total",
|
"devoluciones_total",
|
||||||
"devoluciones_notas",
|
"devoluciones_notas",
|
||||||
|
"aprobado"
|
||||||
]),
|
]),
|
||||||
notas_abreviadas() {
|
notas_abreviadas() {
|
||||||
return this.devoluciones_notas.substring(0, 15) + (this.devoluciones_notas.length > 15 ? "..." : "");
|
return this.devoluciones_notas.substring(0, 15) + (this.devoluciones_notas.length > 15 ? "..." : "");
|
||||||
|
|
Loading…
Add table
Reference in a new issue