feat(wms/coil): 在合并和分条操作中添加物料类型和项目信息

在合并和分条钢卷时,新增了物料类型(materialType)、项目类型(itemType)和项目ID(itemId)字段,确保操作时能完整传递这些必要信息
This commit is contained in:
砂糖
2026-01-14 15:02:39 +08:00
parent 9573c661d2
commit 5bcef23e88
2 changed files with 7 additions and 1 deletions

View File

@@ -749,7 +749,10 @@ export default {
newCoils: this.sourceCoils.map(item => ({
coilId: item.coilId,
enterCoilNo: item.enterCoilNo,
currentCoilNo: item.currentCoilNo
currentCoilNo: item.currentCoilNo,
itemType: item.itemType,
itemId: item.itemId,
materialType: item.materialType,
}))
};

View File

@@ -618,6 +618,9 @@ export default {
coilId: this.motherCoil.coilId,
enterCoilNo: this.motherCoil.enterCoilNo, // 入场钢卷号(必填)
currentCoilNo: this.motherCoil.currentCoilNo,
materialType: this.motherCoil.materialType,
itemType: this.motherCoil.itemType,
itemId: this.motherCoil.itemId,
hasMergeSplit: 1, // 1表示分条
newCoils: this.splitList.map(item => ({
...item,