fix(wms): 修复钢卷操作中物料类型和ID的同步问题
- 在split.vue中确保子卷继承母卷的itemType、itemId和materialType - 在typing.vue中根据materialType自动设置itemType - 在actflow.vue中使用coil-selector组件替换手动选择钢卷逻辑
This commit is contained in:
@@ -662,6 +662,17 @@ export default {
|
||||
}
|
||||
|
||||
// 不复制 itemType 和 itemId,让它们由 materialType 自动决定
|
||||
if (item.itemType) {
|
||||
item.itemType = this.motherCoil.itemType;
|
||||
}
|
||||
|
||||
if (item.itemId) {
|
||||
item.itemId = this.motherCoil.itemId;
|
||||
}
|
||||
|
||||
if (item.materialType) {
|
||||
item.materialType = this.motherCoil.materialType;
|
||||
}
|
||||
});
|
||||
|
||||
// 不再预加载物品列表,改为实时搜索
|
||||
|
||||
Reference in New Issue
Block a user