90 lines
2.6 KiB
HTML
90 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<table v-for="buy in buys" style="break-before: page">
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div id="variant" class="cell">
|
|
<span class="lbl">{{$t('variety')}}</span>
|
|
{{buy.name}}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('size')}}</span>
|
|
{{buy.size}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('category')}}</span>
|
|
{{buy.category}}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('color')}}</span>
|
|
{{buy.color}}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('origin')}}</span>
|
|
{{buy.code}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('packing')}}</span>
|
|
{{buy.packing}}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('grouping')}}</span>
|
|
{{buy.grouping}}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('saleUnit')}}</span>
|
|
{{buy.stems}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" class="barcode">
|
|
<div v-html="getBarcode(buy.id)"></div>
|
|
<span>{{buy.id}}</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<div id="producer" class="cell">
|
|
<span class="lbl">{{$t('producer')}}</span>
|
|
{{buy.producer}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('control')}}</span>
|
|
{{`${weekNum} / ${dayNum}`}}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="cell">
|
|
<span class="lbl">{{$t('boxNum')}}</span>
|
|
{{`${buy.labelNum} / ${maxLabelNum}`}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</html>
|