printedparts: show gage lab tag in the catalog list

The list showed the internal auto-minted itemcode; the gage lab works from the
WJRP gage lab tag. Show gagelabtag as the primary identifier, falling back to
itemcode when a row has no tag assigned.
This commit is contained in:
cproudlock
2026-07-20 11:03:32 -04:00
parent a7ff882e21
commit 89b3156ea1

View File

@@ -37,7 +37,7 @@
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
<th>Code</th> <th>Gage Lab Tag</th>
<th>Name</th> <th>Name</th>
<th>Quantity</th> <th>Quantity</th>
<th>Bin</th> <th>Bin</th>
@@ -59,7 +59,7 @@
class="item-thumb" class="item-thumb"
/> />
</td> </td>
<td>{{ item.itemcode || '-' }}</td> <td>{{ item.gagelabtag || item.itemcode || '-' }}</td>
<td> <td>
{{ item.itemname }} {{ item.itemname }}
<span v-if="!item.isactive" class="badge badge-secondary">Retired</span> <span v-if="!item.isactive" class="badge badge-secondary">Retired</span>