feat(wms): 添加修复工序的样式和分条选项

为酸轧、镀锌、脱脂、拉矫、双机架和镀铬修复工序添加渐变样式标识
在分条功能中增加修复工序的原料库和成品库选项
This commit is contained in:
砂糖
2026-04-15 10:54:26 +08:00
parent b32f826488
commit d15f57ae6d
2 changed files with 71 additions and 5 deletions

View File

@@ -425,11 +425,47 @@ export default {
border: '1px solid #2bf',
color: '#fff'
}
} else if (this.acidRollingActionType == 507) {
}
// 各个修复工序,使用工序的代表色 + 粉色的渐变来标识
// 酸轧修复工序
else if (this.acidRollingActionType == 520) {
return {
// 亮粉色
backgroundColor: '#FFAACC',
border: '1px solid #FFAACC',
background: 'linear-gradient(45deg, #5b7294 0% 90%, #FFAACC 90% 100%)',
color: '#fff'
}
}
// 镀锌修复工序
else if (this.acidRollingActionType == 521) {
return {
background: 'linear-gradient(45deg, #2cb867 0% 90%, #FFAACC 90% 100%)',
color: '#fff'
}
}
// 脱脂修复工序
else if (this.acidRollingActionType == 522) {
return {
background: 'linear-gradient(45deg, purple 0% 90%, #FFAACC 90% 100%)',
color: '#fff'
}
}
// 拉矫修复工序
else if (this.acidRollingActionType == 523) {
return {
background: 'linear-gradient(45deg, #f56c6c 0% 90%, #FFAACC 90% 100%)',
color: '#fff'
}
}
// 双机架修复工序
else if (this.acidRollingActionType == 524) {
return {
background: 'linear-gradient(45deg, #orange 0% 90%, #FFAACC 90% 100%)',
color: '#fff'
}
}
// 镀铬修复工序
else if (this.acidRollingActionType == 525) {
return {
background: 'linear-gradient(45deg, #2bf 0% 90%, #FFAACC 90% 100%)',
color: '#fff'
}
}