refactor: แก้ i18n
This commit is contained in:
parent
33bab7efb1
commit
a600e52b08
2 changed files with 4 additions and 2 deletions
|
|
@ -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'"
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ export type CustomerBranch = {
|
|||
|
||||
export type CustomerBranchCreate = {
|
||||
code?: string;
|
||||
branchNo: number;
|
||||
branchNo?: number;
|
||||
address: string;
|
||||
addressEN: string;
|
||||
provinceId?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue