ZaiZai 1 rok pred
rodič
commit
1c57477747

+ 3 - 3
src/views/tasks/components/hc-data/alter-form.vue

@@ -352,8 +352,8 @@ const delChangeNode = (row) => {
             dataId: tableInfo.value.id,
             taskId: taskInfo.value.id,
             middleMeterInventoryFormId: '',
-            changeFormId: '',
             changeNodeId: row.primaryKeyId,
+            changeFormId: '',
             type: 1
         })
         if (code === 200) {
@@ -387,8 +387,8 @@ const tableFormListDel = (row) => {
             dataId: tableInfo.value.id,
             taskId: taskInfo.value.id,
             middleMeterInventoryFormId: '',
-            changeFormId: primaryKeyId,
-            changeNodeId: row.primaryKeyId,
+            changeFormId: row.primaryKeyId,
+            changeNodeId: primaryKeyId,
             type: 2
         })
         if (code === 200) {