Commit 1dc57e4b authored by jingnan's avatar jingnan 👀

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

parent 12830ccc
...@@ -242,7 +242,8 @@ export default { ...@@ -242,7 +242,8 @@ export default {
}, },
extMaterialId: '', extMaterialId: '',
parentId: null, parentId: null,
operateType: null operateType: null,
parentRowId: ''
} }
}, },
computed: { computed: {
......
...@@ -798,7 +798,7 @@ export default { ...@@ -798,7 +798,7 @@ export default {
if (tableDataItem.operateType === 'MODIFY') { if (tableDataItem.operateType === 'MODIFY') {
for (const item of tableData) { for (const item of tableData) {
// 父类修改 // 父类修改
if (item.id === tableDataItem.id) { if ((item.id === tableDataItem.id) && tableDataItem.isRoot) {
tableData.splice(tableData.indexOf(item), 1, tableDataItem) tableData.splice(tableData.indexOf(item), 1, tableDataItem)
break 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