vue实现键盘上下选中数据,添加 修改数据到新列表中,回车 enter 进行确定 并跳转到下一个

<template>
<div>
<vxe-table
ref="vxeTable"
align="center"
border
resizable
show-overflow
size="mini"
:data="data"
:row-config="{ isHover: true, keyField: 'id' }"
highlight-current-row
:keyboard-config="{
isArrow: true,
isEnter: true,
isEdit: true,
}"
@keydown="handleKeydown"
:edit-config="{ trigger: 'click', mode: 'cell' }"
>
<vxe-column field="id" title="id" width="14%"></vxe-column>
<vxe-column field="product" title="product" width="14%"></vxe-column>
<vxe-column
field="short_code"
title="short_code"
width="14%"
></vxe-column>
<vxe-column
field="default_supplier"
title="default_supplier"
width="14%"
></vxe-column>
<vxe-column
field="description"
title="description"
width="14%"
></vxe-column>
<vxe-column
field="branch_effective_stock"
title="branch_effective_stock"
width="14%"
></vxe-column>
<vxe-column
field="quantity"
title="quantity"
width="14%"
:edit-render="{ autofocus: '.vxe-input--inner' }"
>
<te