fix: remark handling
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s

This commit is contained in:
Methapon2001 2025-07-25 16:19:36 +07:00
parent 8ca3f784f1
commit 968aa04aa9
4 changed files with 66 additions and 18 deletions

View file

@ -96,7 +96,7 @@ const pageState = reactive({
mode: 'view' as 'view' | 'edit' | 'info',
});
const defaultRemark = '#[quotation-labor]<br/><br/>#[quotation-payment]';
const defaultRemark = '';
const formData = ref<CreditNotePayload>({
quotationId: '',
@ -798,16 +798,7 @@ onMounted(async () => {
:default-remark="defaultRemark"
:items="[]"
:readonly="pageState.mode === 'info'"
>
<template #hint>
{{ $t('general.hintRemark') }}
<code>#[quotation-labor]</code>
{{ $t('general.quotationLabor') }}
{{ $t('general.or') }}
<code>#[quotation-payment]</code>
{{ $t('general.quotationPayment') }}
</template>
</RemarkExpansion>
></RemarkExpansion>
<QuotationFormReceipt
v-if="creditNoteData && view === CreditNoteStatus.Success"