Pārlūkot izejas kodu

复制节点修改

duy 8 mēneši atpakaļ
vecāks
revīzija
ae49d603fa

+ 4 - 0
src/views/project/debit/contract/components/unit/tree-form.vue

@@ -290,6 +290,8 @@ const treeNodeCheck = (_, { checkedNodes }) => {
             endStake: '',
             contractPicture: '',
             isAddChildNode: item.isAddChildNode,
+            id:item.id,
+            parentId:item.parentId,
            },
         )
     })
@@ -303,6 +305,8 @@ const treeNodeCheck = (_, { checkedNodes }) => {
             endStake: '',
             contractPicture: '',
             isAddChildNode: parentData.value.isAddChildNode || 1,
+            id:parentData.value.id,
+            parentId:parentData.value.parentId,
              },
         )
         let alarr = tableData.value