feat: 04 => add new i18n message for duplicate names and improve layout in MainPage

This commit is contained in:
puriphatt 2025-01-21 10:03:47 +07:00
parent d446dba565
commit 3cad514e91
3 changed files with 4 additions and 2 deletions

View file

@ -1115,9 +1115,10 @@ export default {
authFailed: 'Authentication Failed. Please try again later. ', authFailed: 'Authentication Failed. Please try again later. ',
installmentsValidateFailed: installmentsValidateFailed:
'Validation failed. Each installment must include at least one product. Please review and update the installments accordingly.', 'Validation failed. Each installment must include at least one product. Please review and update the installments accordingly.',
flowTemplateNotFound: 'Workflow template cannot be found', flowTemplateNotFound: 'Workflow template cannot be found.',
taskOrderNotFound: 'Task order cannot be found.', taskOrderNotFound: 'Task order cannot be found.',
quotationNotFound: 'Quotation cannot be found.', quotationNotFound: 'Quotation cannot be found.',
sameNameExists: 'Same name exists.',
}, },
}, },

View file

@ -1099,6 +1099,7 @@ export default {
flowTemplateNotFound: 'ไม่พบขั้นตอนการทำงาน', flowTemplateNotFound: 'ไม่พบขั้นตอนการทำงาน',
taskOrderNotFound: 'ไม่พบใบสั่งงาน', taskOrderNotFound: 'ไม่พบใบสั่งงาน',
quotationNotFound: 'ไม่พบใบเสนอราคา', quotationNotFound: 'ไม่พบใบเสนอราคา',
sameNameExists: 'ชื่อนี้ถูกใช้ไปแล้ว',
}, },
}, },

View file

@ -548,7 +548,7 @@ watch([() => pageState.inputSearch, workflowPageSize], fetchWorkflowList);
<!-- {{ (currentPage - 1) * pageSize + props.rowIndex + 1 }} --> <!-- {{ (currentPage - 1) * pageSize + props.rowIndex + 1 }} -->
</q-td> </q-td>
<q-td v-if="fieldSelected.includes('name')"> <q-td v-if="fieldSelected.includes('name')">
<section class="row items-center"> <section class="row items-center no-wrap">
<q-avatar <q-avatar
class="q-mr-sm" class="q-mr-sm"
size="md" size="md"