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() {
|
function addData() {
|
||||||
index.value++;
|
index.value++;
|
||||||
customerBranch.value.push({
|
customerBranch.value.push({
|
||||||
|
code: '',
|
||||||
|
branchNo: undefined,
|
||||||
address: '',
|
address: '',
|
||||||
addressEN: '',
|
addressEN: '',
|
||||||
provinceId: '',
|
provinceId: '',
|
||||||
|
|
@ -91,7 +93,7 @@ function close(index: number) {
|
||||||
v-for="(v, index) in customerBranch"
|
v-for="(v, index) in customerBranch"
|
||||||
:key="index"
|
:key="index"
|
||||||
:name="index"
|
:name="index"
|
||||||
:label="`${$t('customerBranchFormTab')} ${index + 1}`"
|
:label="`${$t('customerBranchFormTab')} `"
|
||||||
@click="tab = index"
|
@click="tab = index"
|
||||||
no-caps
|
no-caps
|
||||||
:class="tab === index ? '' : 'bordered-b bordered-r'"
|
:class="tab === index ? '' : 'bordered-b bordered-r'"
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ export type CustomerBranch = {
|
||||||
|
|
||||||
export type CustomerBranchCreate = {
|
export type CustomerBranchCreate = {
|
||||||
code?: string;
|
code?: string;
|
||||||
branchNo: number;
|
branchNo?: number;
|
||||||
address: string;
|
address: string;
|
||||||
addressEN: string;
|
addressEN: string;
|
||||||
provinceId?: string | null;
|
provinceId?: string | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue