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>
|
||||
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: [] },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue