fix(tahesab): register Ant components on sales report page

Without explicit imports the a-button tags rendered as raw custom elements with no styles or click behavior.
This commit is contained in:
2026-10-22 20:35:21 +03:30
parent 2ca2650b69
commit 5be0bc6f5e
+24 -1
View File
@@ -1,7 +1,26 @@
<script setup lang="ts">
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
import { useRouter } from 'vue-router';
import { message, theme } from 'ant-design-vue';
import {
Alert as AAlert,
Button as AButton,
Card as ACard,
Col as ACol,
Empty as AEmpty,
Flex as AFlex,
Form as AForm,
FormItem as AFormItem,
List as AList,
Row as ARow,
Select as ASelect,
Space as ASpace,
Statistic as AStatistic,
Table as ATable,
Tag as ATag,
Typography,
message,
theme,
} from 'ant-design-vue';
import type { TableColumnsType, TablePaginationConfig } from 'ant-design-vue';
import {
ArrowRightOutlined,
@@ -10,6 +29,10 @@ import {
SyncOutlined,
} from '@ant-design/icons-vue';
import axios from 'axios';
const { Title: ATypographyTitle, Text: ATypographyText } = Typography;
const AListItem = AList.Item;
const AListItemMeta = AList.Item.Meta;
import {
TAHESAB_ASNAD_KIND_LABELS,
TAHESAB_ASNAD_KINDS,