feat(wms): 优化退火炉界面和修复钢卷合卷功能

- 重构退火炉界面为卡片式布局,增加可视化状态展示
- 修复钢卷合卷API路径和方法,添加操作ID和类型参数
- 移除标签打印中冗余的itemName字段
- 修复退火计划物料卡片布局自适应问题
This commit is contained in:
砂糖
2026-03-16 15:38:11 +08:00
parent e5821a3f68
commit 71e2467572
7 changed files with 218 additions and 69 deletions

View File

@@ -758,7 +758,6 @@ export default {
this.labelRender.type = type;
this.labelRender.data = {
...row,
itemName: itemName,
updateTime: row.updateTime?.split(' ')[0] || '',
};
},

View File

@@ -655,6 +655,8 @@ export default {
enterCoilNo: item.enterCoilNo,
currentCoilNo: item.currentCoilNo,
materialType: item.materialType,
actionId: item.actionId, // 保存待操作ID用于后续完成操作
actionType: this.actionTypeCode, // 合卷操作类型
}))
};
@@ -663,7 +665,7 @@ export default {
text: '正在合卷,请稍后...',
background: 'rgba(0, 0, 0, 0.7)'
});
this.completeAllRelatedActions();
// this.completeAllRelatedActions();
await mergeMaterialCoil(mergeData);
this.$message.success('合卷保存成功');

View File

@@ -814,9 +814,9 @@ export default {
handlePrintLabel(row) {
const type = getCoilTagPrintType(row);
this.labelRender.type = type;
this.labelRender.data = {
...row,
itemName: itemName,
updateTime: row.updateTime?.split(' ')[0] || '',
};
this.$nextTick(() => {

View File

@@ -720,7 +720,6 @@ export default {
this.labelRender.type = type;
this.labelRender.data = {
...row,
itemName: itemName,
updateTime: row.updateTime?.split(' ')[0] || '',
};
this.$nextTick(() => {