refactor: add type
This commit is contained in:
parent
a0b9afb806
commit
0bb715d7ab
1 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { ref, watch } from 'vue';
|
import { ref, watch } from 'vue';
|
||||||
import { QTableProps } from 'quasar';
|
import { QTableProps, QTableSlots } from 'quasar';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
|
|
||||||
import WorkerItem from './WorkerItem.vue';
|
import WorkerItem from './WorkerItem.vue';
|
||||||
|
|
@ -269,7 +269,11 @@ watch(
|
||||||
</q-tr>
|
</q-tr>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #body="props">
|
<template
|
||||||
|
#body="props: {
|
||||||
|
row: Required<QuotationPayload['productServiceList'][number]>;
|
||||||
|
} & Omit<Parameters<QTableSlots['body']>[0], 'row'>"
|
||||||
|
>
|
||||||
<q-tr>
|
<q-tr>
|
||||||
<q-td class="text-center">{{ props.rowIndex + 1 }}</q-td>
|
<q-td class="text-center">{{ props.rowIndex + 1 }}</q-td>
|
||||||
<q-td v-if="installmentInput">
|
<q-td v-if="installmentInput">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue