瀏覽代碼

复制节点修改

duy 8 月之前
父節點
當前提交
ae49d603fa
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/project/debit/contract/components/unit/tree-form.vue

+ 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