Commit 1dc57e4b authored by jingnan's avatar jingnan 👀

采购入库增加附件和子件后,点击附件或子件编辑后,只剩下一条信息bug修改

parent 12830ccc
......@@ -242,7 +242,8 @@ export default {
},
extMaterialId: '',
parentId: null,
operateType: null
operateType: null,
parentRowId: ''
}
},
computed: {
......
......@@ -798,7 +798,7 @@ export default {
if (tableDataItem.operateType === 'MODIFY') {
for (const item of tableData) {
// 父类修改
if (item.id === tableDataItem.id) {
if ((item.id === tableDataItem.id) && tableDataItem.isRoot) {
tableData.splice(tableData.indexOf(item), 1, tableDataItem)
break
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment