diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index f24c6b3b..3ec63b43 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -1266,15 +1266,19 @@ const emptyCreateDialog = ref(false); class="ellipsis" > {{ - props.row.branch[0].businessType[ - $i18n.locale === 'eng' ? 'nameEN' : 'name' - ] + props.row.branch[0].businessType + ? props.row.branch[0].businessType[ + $i18n.locale === 'eng' ? 'nameEN' : 'name' + ] + : '-' }} {{ - props.row.branch[0].businessType[ - $i18n.locale === 'eng' ? 'nameEN' : 'name' - ] + props.row.branch[0].businessType + ? props.row.branch[0].businessType[ + $i18n.locale === 'eng' ? 'nameEN' : 'name' + ] + : '-' }} diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 50e0afcc..41420441 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -2313,6 +2313,7 @@ function covertToNode() { > ({ quotationId: '', @@ -798,16 +798,7 @@ onMounted(async () => { :default-remark="defaultRemark" :items="[]" :readonly="pageState.mode === 'info'" - > - - {{ $t('general.hintRemark') }} - #[quotation-labor] - {{ $t('general.quotationLabor') }} - {{ $t('general.or') }} - #[quotation-payment] - {{ $t('general.quotationPayment') }} - - + > - diff --git a/src/pages/12_debit-note/document-view/MainPage.vue b/src/pages/12_debit-note/document-view/MainPage.vue index 563b4d02..33faa935 100644 --- a/src/pages/12_debit-note/document-view/MainPage.vue +++ b/src/pages/12_debit-note/document-view/MainPage.vue @@ -492,9 +492,8 @@ function print() { v-html=" convertTemplate(data?.remark || '', { 'quotation-payment': { - paymentType: data?.payCondition || 'Full', + paymentType: 'Full', amount: summaryPrice.finalPrice, - installments: data?.paySplit, }, 'quotation-labor': { name: diff --git a/src/pages/12_debit-note/expansion/RemarkExpansion.vue b/src/pages/12_debit-note/expansion/RemarkExpansion.vue index d33fcf73..0ed7d568 100644 --- a/src/pages/12_debit-note/expansion/RemarkExpansion.vue +++ b/src/pages/12_debit-note/expansion/RemarkExpansion.vue @@ -1,9 +1,21 @@ ('remark', { default: '' }); ('remark', { default: '' }); remark = v; } " - /> + > + + + + {{ $t('general.view', { msg: $t('general.example') }) }} + + + {{ $t('general.edit') }} + + + +
#[quotation-labor]
#[quotation-payment]