fix(wms): 修复复制信息时未保留itemId的问题
feat(report): 为zha报表添加按createTime降序排序功能 refactor(home): 优化统计组件查询条件,添加status参数
This commit is contained in:
@@ -629,7 +629,7 @@ export default {
|
||||
materialType: this.currentInfo.materialType,
|
||||
// 不复制 itemType 和 itemId,让它们由 materialType 自动决定
|
||||
itemType,
|
||||
itemId: null,
|
||||
itemId: this.currentInfo.itemId,
|
||||
grossWeight: parseFloat(this.currentInfo.grossWeight) || null,
|
||||
netWeight: parseFloat(this.currentInfo.netWeight) || null,
|
||||
warehouseId: this.currentInfo.warehouseId,
|
||||
@@ -638,7 +638,7 @@ export default {
|
||||
};
|
||||
|
||||
// materialType 会触发 watch,自动设置 itemType 并加载物品列表
|
||||
this.$message.success('已复制当前信息');
|
||||
this.$message.success('已复制当前信息,包含' + this.currentInfo.materialType + '的相关信息, 请根据需要修改');
|
||||
},
|
||||
|
||||
// 保存更新
|
||||
|
||||
Reference in New Issue
Block a user