feat(wms/coil): 在合并和分条操作中添加物料类型和项目信息
在合并和分条钢卷时,新增了物料类型(materialType)、项目类型(itemType)和项目ID(itemId)字段,确保操作时能完整传递这些必要信息
This commit is contained in:
@@ -749,7 +749,10 @@ export default {
|
|||||||
newCoils: this.sourceCoils.map(item => ({
|
newCoils: this.sourceCoils.map(item => ({
|
||||||
coilId: item.coilId,
|
coilId: item.coilId,
|
||||||
enterCoilNo: item.enterCoilNo,
|
enterCoilNo: item.enterCoilNo,
|
||||||
currentCoilNo: item.currentCoilNo
|
currentCoilNo: item.currentCoilNo,
|
||||||
|
itemType: item.itemType,
|
||||||
|
itemId: item.itemId,
|
||||||
|
materialType: item.materialType,
|
||||||
}))
|
}))
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -618,6 +618,9 @@ export default {
|
|||||||
coilId: this.motherCoil.coilId,
|
coilId: this.motherCoil.coilId,
|
||||||
enterCoilNo: this.motherCoil.enterCoilNo, // 入场钢卷号(必填)
|
enterCoilNo: this.motherCoil.enterCoilNo, // 入场钢卷号(必填)
|
||||||
currentCoilNo: this.motherCoil.currentCoilNo,
|
currentCoilNo: this.motherCoil.currentCoilNo,
|
||||||
|
materialType: this.motherCoil.materialType,
|
||||||
|
itemType: this.motherCoil.itemType,
|
||||||
|
itemId: this.motherCoil.itemId,
|
||||||
hasMergeSplit: 1, // 1表示分条
|
hasMergeSplit: 1, // 1表示分条
|
||||||
newCoils: this.splitList.map(item => ({
|
newCoils: this.splitList.map(item => ({
|
||||||
...item,
|
...item,
|
||||||
|
|||||||
Reference in New Issue
Block a user