duy 2 år sedan
förälder
incheckning
b0f00f3991
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      src/views/data-fill/division.vue

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

@@ -1132,6 +1132,7 @@ const searchTreeSelect = (item) => {
     dialogTableRef.value?.clearSelection()
     dialogTableKeys.value = []
     dialogTableData.value = [item]
+    selectItems.value=[item]
      nextTick(()=>{
             dialogTableRef.value?.toggleRowSelection(item,true);
         })
@@ -1259,6 +1260,7 @@ const addingFormSave = async () => {
     // const rows = dialogTableKeys.value
     console.log(dialogTableKeys.value, "addingFormSave")
     const rows = selectItems.value
+    console.log(rows,'rows');
     if (rows.length > 0) {
         addingFormLoading.value = true
         const { primaryKeyId } = treeItemInfo.value