|
@@ -635,7 +635,7 @@ const addNodeClick = async () => {
|
|
|
} else {
|
|
|
//发起请求
|
|
|
addNodeLoading.value = true
|
|
|
- const primaryKeyId = nodeDataInfo.value?.primaryKeyId || ''
|
|
|
+ const primaryKeyId = treeItemInfo.value?.primaryKeyId || ''
|
|
|
const {error, code} = await wbsApi.saveContractTreeNode({
|
|
|
projectId: projectId.value,
|
|
|
contractId: contractId.value,
|