diff --git a/src/views/desktop/transactions/list/dialogs/ImportDialog.vue b/src/views/desktop/transactions/list/dialogs/ImportDialog.vue index 6c79ef41..1ab5271f 100644 --- a/src/views/desktop/transactions/list/dialogs/ImportDialog.vue +++ b/src/views/desktop/transactions/list/dialogs/ImportDialog.vue @@ -321,7 +321,43 @@ + v-model="currentPage"> + + @@ -584,6 +620,27 @@ export default { return pageOptions; }, + allPages() { + const pages = []; + + for (let i = 1; i < this.totalPageCount; i++) { + pages.push({ + page: i + }); + } + + return pages; + }, + inputCurrentPage: { + get: function () { + return this.currentPage; + }, + set: function (value) { + if (value && value >= 1 && value < this.totalPageCount) { + this.currentPage = value; + } + } + }, totalPageCount() { if (!this.importTransactions || this.importTransactions.length < 1) { return 1;