|
@@ -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
|