- aggiornati gli argomenti in base a GM

This commit is contained in:
Surya Paolo
2025-02-12 18:32:10 +01:00
parent 0ad4dcff75
commit cdefb91bef
26 changed files with 230 additions and 71 deletions

View File

@@ -64,20 +64,24 @@ export default defineComponent({
// Funzione per disegnare il codice a barre
const drawBarcode = () => {
if (value.value) {
JsBarcode("#C" + value.value, value.value, {
format: format.value,
width: widthlines.value,
height: tools.convstrToNum(height.value),
displayValue: true,
lineColor: "#000",
font: "monospace",
margin: 0,
textMargin: 0,
marginTop: 0,
fontSize: tools.convstrToNum(fontsize.value),
textPosition: "bottom",
});
try {
if (value.value && value.value.length > 2) {
JsBarcode("#C" + value.value, value.value, {
format: format.value,
width: widthlines.value,
height: tools.convstrToNum(height.value),
displayValue: true,
lineColor: "#000",
font: "monospace",
margin: 0,
textMargin: 0,
marginTop: 0,
fontSize: tools.convstrToNum(fontsize.value),
textPosition: "bottom",
});
}
} catch (e) {
}
}