fix: pay condition type
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
This commit is contained in:
parent
12b49a2a07
commit
915ce6f70b
1 changed files with 4 additions and 8 deletions
|
|
@ -1,18 +1,14 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import QuotationFormInfo from 'src/pages/05_quotation/QuotationFormInfo.vue';
|
import QuotationFormInfo from 'src/pages/05_quotation/QuotationFormInfo.vue';
|
||||||
|
import { PayCondition } from 'src/stores/quotations/types';
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
complete?: boolean;
|
complete?: boolean;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const payType = defineModel<
|
const payType = defineModel<PayCondition>('payType', {
|
||||||
| 'Full'
|
default: PayCondition.Full,
|
||||||
| 'Split'
|
});
|
||||||
| 'SplitCustom'
|
|
||||||
| 'BillFull'
|
|
||||||
| 'BillSplit'
|
|
||||||
| 'BillSplitCustom'
|
|
||||||
>('payType', { default: 'Full' });
|
|
||||||
const paySplit = defineModel<{ no: number; name?: string; amount: number }[]>(
|
const paySplit = defineModel<{ no: number; name?: string; amount: number }[]>(
|
||||||
'paySplit',
|
'paySplit',
|
||||||
{ default: [] },
|
{ default: [] },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue