Browse Source

划分编号不传

duy 2 ngày trước cách đây
mục cha
commit
d5fad9322c
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 2 2
      src/views/data-fill/division.vue
  2. 2 2
      src/views/data-fill/wbs.vue

+ 2 - 2
src/views/data-fill/division.vue

@@ -2061,7 +2061,7 @@ const addNodeClickCur = async () => {
         nodeName: formWaterNodeModel.value.nodeName,
         nodeType: formWaterNodeModel.value?.nodeType || '',
         newPartitionCode:formWaterNodeModel.value?.number || '',
-        partitionCode: treeItemInfo.value?.partitionCode || '',
+        // partitionCode: treeItemInfo.value?.partitionCode || '',
         primaryKeyId: treeItemInfo.value?.primaryKeyId || '',
         nodeClass: 1, //1水利化工程,2数字化文件
         templateType:useAppState.contractInfo?.templateType,
@@ -2203,7 +2203,7 @@ const addNodeClickData = async () => {
     const { error, code, msg } = await wbsApi.saveCustomAddContractNode({
         nodeName: formDataNodeModel.value.nodeName,
         nodeType: formDataNodeModel.value?.nodeType || '',
-        partitionCode: treeItemInfo.value?.partitionCode || '',
+        // partitionCode: treeItemInfo.value?.partitionCode || '',
         primaryKeyId: treeItemInfo.value?.primaryKeyId || '',
         nodeClass: 2, //数字化文件
         isClassifition: formDataNodeModel.value?.isClassifition || 0,

+ 2 - 2
src/views/data-fill/wbs.vue

@@ -2896,7 +2896,7 @@ const addNodeClickData = async () => {
     const { error, code, msg } = await wbsApi.saveCustomAddContractNode({
         nodeName: formDataNodeModel.value.nodeName,
         nodeType: formDataNodeModel.value?.nodeType || '',
-        partitionCode: nodeDataInfo.value?.partitionCode || '',
+        // partitionCode: nodeDataInfo.value?.partitionCode || '',
         primaryKeyId: nodeDataInfo.value?.primaryKeyId || '',
         nodeClass: 2, //数字化文件
         isClassifition: formDataNodeModel.value?.isClassifition || 0,
@@ -2988,7 +2988,7 @@ const addNodeClickCur = async () => {
         nodeName: formWaterNodeModel.value.nodeName,
         nodeType: formWaterNodeModel.value?.nodeType || '',
         newPartitionCode:formWaterNodeModel.value?.number || '',
-        partitionCode: nodeDataInfo.value?.partitionCode || '',
+        // partitionCode: nodeDataInfo.value?.partitionCode || '',
         primaryKeyId: nodeDataInfo.value?.primaryKeyId || '',
         nodeClass: 1, //1水利化工程,2数字化文件
         templateType:useAppState.contractInfo?.templateType,