feat(wms): 优化退火炉界面和修复钢卷合卷功能
- 重构退火炉界面为卡片式布局,增加可视化状态展示 - 修复钢卷合卷API路径和方法,添加操作ID和类型参数 - 移除标签打印中冗余的itemName字段 - 修复退火计划物料卡片布局自适应问题
This commit is contained in:
@@ -758,7 +758,6 @@ export default {
|
||||
this.labelRender.type = type;
|
||||
this.labelRender.data = {
|
||||
...row,
|
||||
itemName: itemName,
|
||||
updateTime: row.updateTime?.split(' ')[0] || '',
|
||||
};
|
||||
},
|
||||
|
||||
@@ -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('合卷保存成功');
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
@@ -720,7 +720,6 @@ export default {
|
||||
this.labelRender.type = type;
|
||||
this.labelRender.data = {
|
||||
...row,
|
||||
itemName: itemName,
|
||||
updateTime: row.updateTime?.split(' ')[0] || '',
|
||||
};
|
||||
this.$nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user