feat(标签打印): 添加镀铬卷标签类型支持
新增镀铬卷(DuGeTag)标签组件,包含对应的样式和布局 在do.vue和LabelRender/index.vue中增加镀铬卷类型判断逻辑 调整标签尺寸配置以适配镀铬卷标签规格
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user