fix: pay condition type
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s

This commit is contained in:
puriphatt 2025-07-14 11:40:43 +07:00
parent 12b49a2a07
commit 915ce6f70b

View file

@ -1,18 +1,14 @@
<script lang="ts" setup>
import QuotationFormInfo from 'src/pages/05_quotation/QuotationFormInfo.vue';
import { PayCondition } from 'src/stores/quotations/types';
defineProps<{
complete?: boolean;
}>();
const payType = defineModel<
| 'Full'
| 'Split'
| 'SplitCustom'
| 'BillFull'
| 'BillSplit'
| 'BillSplitCustom'
>('payType', { default: 'Full' });
const payType = defineModel<PayCondition>('payType', {
default: PayCondition.Full,
});
const paySplit = defineModel<{ no: number; name?: string; amount: number }[]>(
'paySplit',
{ default: [] },