refs #4204 Added param URL labelCount and
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
changes in the css
This commit is contained in:
parent
1f0f5adcd8
commit
b7a369a41c
|
@ -11,7 +11,12 @@ module.exports = Self => {
|
|||
required: true,
|
||||
description: 'The ticket id',
|
||||
http: {source: 'path'}
|
||||
},
|
||||
}, {
|
||||
arg: 'labelCount',
|
||||
type: 'number',
|
||||
required: true,
|
||||
description: 'The number of labels'
|
||||
}
|
||||
],
|
||||
returns: [
|
||||
{
|
||||
|
|
|
@ -13,11 +13,12 @@ html {
|
|||
font-size: 29px;
|
||||
margin-left: -13px;
|
||||
}
|
||||
.outline {
|
||||
#outline {
|
||||
border: 1px solid black;
|
||||
padding: 5px;
|
||||
height: 37px;
|
||||
width: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
#nickname {
|
||||
font-size: 22px;
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td rowspan="3"><div v-html="getBarcode(labelData.ticketFk)" id="barcode"></div></td>
|
||||
<td class="outline">{{labelData.workerCode || '---'}}</td>
|
||||
<td id="outline" class="ellipsize">{{labelData.workerCode || '---'}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="outline">{{labelData.labelCount || 0}}</td>
|
||||
<td id="outline" class="ellipsize">{{labelCount || 0}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="outline">{{labelData.code == 'V' ? (labelData.size || 0) + 'cm' : (labelData.volume || 0) + 'm³'}}</td>
|
||||
<td id="outline" class="ellipsize">{{labelData.code == 'V' ? (labelData.size || 0) + 'cm' : (labelData.volume || 0) + 'm³'}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div id="agencyDescripton" class="ellipsize">{{labelData.agencyDescription ? labelData.agencyDescription.toUpperCase() : '---'}}</div></td>
|
||||
|
|
|
@ -11,6 +11,11 @@ module.exports = {
|
|||
type: Number,
|
||||
required: true,
|
||||
description: 'The ticket or collection id'
|
||||
},
|
||||
labelCount: {
|
||||
type: Number,
|
||||
required: true,
|
||||
description: 'The number of labels'
|
||||
}
|
||||
},
|
||||
async serverPrefetch() {
|
||||
|
|
|
@ -13,7 +13,6 @@ SELECT c.itemPackingTypeFk code,
|
|||
TIME_FORMAT(zo.`hour`, '%H:%i') zoneHour,
|
||||
DATE_FORMAT(t.shipped, '%d/%m/%y') shipped,
|
||||
t.nickName,
|
||||
tt.labelCount,
|
||||
COUNT(*) lineCount
|
||||
FROM vn.ticket t
|
||||
JOIN vn.ticketCollection tc ON tc.ticketFk = t.id
|
||||
|
|
Loading…
Reference in New Issue