Compare commits
No commits in common. "c58824ff5227f97a5e3ff3e470e851fcacee1a89" and "686fcf3bd5bdfec32712cc7937c8fa0c452a942d" have entirely different histories.
c58824ff52
...
686fcf3bd5
3 changed files with 3 additions and 4 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 ? "Aprobado" : "No aprobado";
|
return this.aprobado ? "Pagado" : "No pagado";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
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="Aprobado">Aprobado</abbr></th>
|
<th class="is-1"><abbr title="Pagado">Pagado</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 && !aprobado">
|
<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>
|
||||||
|
@ -57,7 +57,6 @@ 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