94 lines
2.2 KiB
HTML
94 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body table v-for="buy in buys" style="break-before: page">
|
|
<table>
|
|
<tr>
|
|
<td class="md-txt bold center black-bg lg-width md-height">
|
|
<div class="overflow-multiline">
|
|
{{buy.item}}
|
|
</div>
|
|
</td>
|
|
<td colspan="2" class="xl-txt bold center black-bg md-height md-width">
|
|
<div class="overflow-line">
|
|
{{buy.size}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="right lg-width">
|
|
<div class="overflow-line">
|
|
{{
|
|
(buy.longName && buy.size && buy.subName)
|
|
? `${buy.longName} ${buy.size} ${buy.subName}`
|
|
: buy.comment
|
|
}}
|
|
</div>
|
|
</td>
|
|
<td class="center sm-width">
|
|
<div class="overflow-line">
|
|
{{buy.producerName || buy.producerFk}}
|
|
</div>
|
|
</td>
|
|
<td class="center sm-width">
|
|
<div class="overflow-line">
|
|
{{buy.inkFk}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md-txt xl-width bold center">
|
|
<div class="overflow-line">
|
|
{{buy.itemFk}}
|
|
</div>
|
|
</td>
|
|
<td colspan="2" class="md-txt md-width center">
|
|
<div class="overflow-line">
|
|
{{`${(packing || buy.packing)} x ${buy.stems || ''}`}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="2" class="center">
|
|
<div v-html="getBarcode(buy.buyFk)"></div>
|
|
</td>
|
|
<td colspan="2" class="center md-width xs-height xs-txt">
|
|
<div v-if="buy.isLaid && typeId === 'buy'" class="overflow-line black-bg bold">
|
|
{{'LAID'}}
|
|
</div>
|
|
<div v-else class="overflow-line">
|
|
{{buy.entryFk}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center xs-txt sm-width">
|
|
<div class="overflow-line">
|
|
{{buy.buyerName}}
|
|
</div>
|
|
</td>
|
|
<td class="center xs-txt sm-width">
|
|
<div class="overflow-line">
|
|
{{buy.origin}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center xl-width">
|
|
<div class="overflow-line">
|
|
{{buy.buyFk}}
|
|
</div>
|
|
</td>
|
|
<td class="xs-txt sm-width center">
|
|
<div class="overflow-line">
|
|
{{date}}
|
|
</div>
|
|
</td>
|
|
<td class="xs-txt sm-width cursive center bold">
|
|
<div class="overflow-line">
|
|
{{`${buy.labelNum}/${buy.quantity / (packing || buy.packing)}`}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html> |