refactor: แก้ i18n

This commit is contained in:
Net 2024-07-05 13:17:59 +07:00
parent 33bab7efb1
commit a600e52b08
2 changed files with 4 additions and 2 deletions

View file

@ -17,6 +17,8 @@ const index = ref<number>(0);
function addData() {
index.value++;
customerBranch.value.push({
code: '',
branchNo: undefined,
address: '',
addressEN: '',
provinceId: '',
@ -91,7 +93,7 @@ function close(index: number) {
v-for="(v, index) in customerBranch"
:key="index"
:name="index"
:label="`${$t('customerBranchFormTab')} ${index + 1}`"
:label="`${$t('customerBranchFormTab')} `"
@click="tab = index"
no-caps
:class="tab === index ? '' : 'bordered-b bordered-r'"

View file

@ -63,7 +63,7 @@ export type CustomerBranch = {
export type CustomerBranchCreate = {
code?: string;
branchNo: number;
branchNo?: number;
address: string;
addressEN: string;
provinceId?: string | null;