refactor: add i18n

This commit is contained in:
Thanaphon Frappet 2024-10-17 15:51:56 +07:00
parent 369a7a406d
commit 59674d1295
3 changed files with 29 additions and 9 deletions

View file

@ -95,20 +95,20 @@ watch(elements, () => {
border-bottom: 2px solid var(--orange-5);
"
>
รายการสนค
{{ $t('peview.productList') }}
</span>
<table ref="elements" class="q-mb-sm" cellpadding="0" style="width: 100%">
<tbody>
<tr>
<th>นด</th>
<th>รหสสนค</th>
<th>รายละเอยด</th>
<th>จำนวน</th>
<th>ราคาตอหนวย</th>
<th>วนสด</th>
<th>ภาษ</th>
<th>ลค</th>
<th>{{ $t('peview.rank') }}</th>
<th>{{ $t('peview.productCode') }}</th>
<th>{{ $t('general.detail') }}</th>
<th>{{ $t('general.amount') }}</th>
<th>{{ $t('peview.pric') }}</th>
<th>{{ $t('peview.discount') }}</th>
<th>{{ $t('peview.vat') }}</th>
<th>{{ $t('peview.value') }}</th>
</tr>
<tr class="color-tr" v-for="(_, i) in chunk">
<td class="text-center">{{ i + 1 }}</td>