feat(标签打印): 添加镀铬卷标签类型支持

新增镀铬卷(DuGeTag)标签组件,包含对应的样式和布局
在do.vue和LabelRender/index.vue中增加镀铬卷类型判断逻辑
调整标签尺寸配置以适配镀铬卷标签规格
This commit is contained in:
砂糖
2026-03-09 15:24:04 +08:00
parent bd5e0ac5e9
commit 1038b17a66
3 changed files with 509 additions and 1 deletions

View File

@@ -565,6 +565,10 @@ export default {
width: 180,
height: 100,
},
'ge': {
width: 180,
height: 80,
},
'where': {
width: 100,
height: 80,
@@ -669,6 +673,8 @@ export default {
this.labelRender.type = '4';
} else if (itemType == 'product' && itemName == '冷轧卷') {
this.labelRender.type = '3';
} else if (itemType == 'product' && itemName == '镀铬卷') {
this.labelRender.type = 'ge';
} else {
this.labelRender.type = '3';
}