diff --git a/src/printFormat/alphaHardTagPrintFormat.js b/src/printFormat/alphaHardTagPrintFormat.js index 7aa8731..8193bb9 100644 --- a/src/printFormat/alphaHardTagPrintFormat.js +++ b/src/printFormat/alphaHardTagPrintFormat.js @@ -135,7 +135,7 @@ const printCartonLabel = (LODOP,row,icons,hz) => { LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) - LODOP.ADD_PRINT_TEXT(86, 275, 64, 20, row.weight) + LODOP.ADD_PRINT_TEXT(86, 275, 64, 20, new Decimal(row.weight).toDecimalPlaces(3)) LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) LODOP.SET_PRINT_STYLEA(0, 'Alignment', 3) @@ -144,7 +144,7 @@ const printCartonLabel = (LODOP,row,icons,hz) => { LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) if (row.showPound === 'Y'){ - LODOP.ADD_PRINT_TEXT(101, 275, 64, 20, new Decimal(row.weight).mul(new Decimal(2.20462)).toDecimalPlaces(6)) + LODOP.ADD_PRINT_TEXT(101, 275, 64, 20, new Decimal(row.weight).mul(new Decimal(2.20462)).toDecimalPlaces(3)) LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) LODOP.SET_PRINT_STYLEA(0, 'Alignment', 3) diff --git a/src/views/modules/manufacturer/manufacturerInformation.vue b/src/views/modules/manufacturer/manufacturerInformation.vue index 743c6bc..329fd21 100644 --- a/src/views/modules/manufacturer/manufacturerInformation.vue +++ b/src/views/modules/manufacturer/manufacturerInformation.vue @@ -75,7 +75,7 @@ - + diff --git a/src/views/modules/part/external.vue b/src/views/modules/part/external.vue index b0e8fa3..8bc5621 100644 --- a/src/views/modules/part/external.vue +++ b/src/views/modules/part/external.vue @@ -1750,7 +1750,7 @@ export default { + :precision="3"> @@ -1771,7 +1771,7 @@ export default { + :precision="3">