|
|
@ -64,7 +64,7 @@ const isKanban = inject(IsKanbanInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
provide(MetaInj, meta) |
|
|
|
provide(MetaInj, meta) |
|
|
|
|
|
|
|
|
|
|
|
const { commentsDrawer, changedColumns, state: rowState, isNew, loadRow } = useProvideExpandedFormStore(meta, row) |
|
|
|
const { commentsDrawer, changedColumns, state: rowState, isNew, loadRow,save } = useProvideExpandedFormStore(meta, row) |
|
|
|
|
|
|
|
|
|
|
|
const duplicatingRowInProgress = ref(false) |
|
|
|
const duplicatingRowInProgress = ref(false) |
|
|
|
|
|
|
|
|
|
|
@ -126,6 +126,11 @@ const onDuplicateRow = () => { |
|
|
|
}, 500) |
|
|
|
}, 500) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const onNext = async () => { |
|
|
|
|
|
|
|
await save() |
|
|
|
|
|
|
|
emits('next') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const reloadParentRowHook = inject(ReloadRowDataHookInj, createEventHook()) |
|
|
|
const reloadParentRowHook = inject(ReloadRowDataHookInj, createEventHook()) |
|
|
|
|
|
|
|
|
|
|
|
// override reload trigger and use it to reload grid and the form itself |
|
|
|
// override reload trigger and use it to reload grid and the form itself |
|
|
@ -180,7 +185,7 @@ export default { |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
{{ $t('labels.nextRow') }} |
|
|
|
{{ $t('labels.nextRow') }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<MdiChevronRight class="cursor-pointer nc-next-arrow" @click="$emit('next')" /> |
|
|
|
<MdiChevronRight class="cursor-pointer nc-next-arrow" @click="onNext" /> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
|
<a-tooltip placement="bottom"> |
|
|
|
<a-tooltip placement="bottom"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|