feat(标签系统): 添加脱脂原料库标签类型并优化透视表功能

新增脱脂原料库标签类型6及相关组件TuoZhiTag
优化透视表功能,增加保存明细选项和导出功能
在标签渲染组件中添加对脱脂原料库类型的判断
更新相关API调用和UI交互逻辑
This commit is contained in:
砂糖
2026-03-10 15:38:22 +08:00
parent e937ff50f6
commit 6e909212bf
8 changed files with 465 additions and 24 deletions

View File

@@ -577,6 +577,10 @@ export default {
width: 180,
height: 100,
},
'6': {
width: 180,
height: 100,
},
},
stepSpilt: {
list: [],
@@ -663,7 +667,12 @@ export default {
// 在镀锌颜料库的卷使用镀锌原料标签
if (itemType == 'raw_material' && (warehouseId == '1988150263284953089' || warehouseId == '1988150487185289217')) {
this.labelRender.type = '5';
} else if (itemType == 'raw_material') {
}
// 脱脂原料库
else if (itemType == 'raw_material' && (warehouseId == '1988150545175736322')) {
this.labelRender.type = '6';
}
else if (itemType == 'raw_material') {
this.labelRender.type = '2';
} else if (itemType == 'product' && itemName == '冷硬卷') {
this.labelRender.type = '3';