mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
add refresh button in batch replace dialog
This commit is contained in:
@@ -822,7 +822,7 @@ import type { StepBarItem } from '@/components/desktop/StepsBar.vue';
|
||||
import PaginationButtons from '@/components/desktop/PaginationButtons.vue';
|
||||
import ConfirmDialog from '@/components/desktop/ConfirmDialog.vue';
|
||||
import SnackBar from '@/components/desktop/SnackBar.vue';
|
||||
import BatchReplaceDialog from './dialogs/BatchReplaceDialog.vue';
|
||||
import BatchReplaceDialog, { type BatchReplaceDialogDataType } from './dialogs/BatchReplaceDialog.vue';
|
||||
|
||||
import { ref, computed, useTemplateRef, watch } from 'vue';
|
||||
|
||||
@@ -2358,7 +2358,7 @@ function updateTransactionData(transaction: ImportTransaction): void {
|
||||
}
|
||||
}
|
||||
|
||||
function showBatchReplaceDialog(type: string): void {
|
||||
function showBatchReplaceDialog(type: BatchReplaceDialogDataType): void {
|
||||
if (editingTransaction.value) {
|
||||
return;
|
||||
}
|
||||
@@ -2423,7 +2423,7 @@ function showBatchReplaceDialog(type: string): void {
|
||||
});
|
||||
}
|
||||
|
||||
function showReplaceInvalidItemDialog(type: string, invalidItems: NameValue[]): void {
|
||||
function showReplaceInvalidItemDialog(type: BatchReplaceDialogDataType, invalidItems: NameValue[]): void {
|
||||
if (editingTransaction.value) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user