fix: แก้ type ให้ตรงกัน
This commit is contained in:
parent
863de9da18
commit
32dc0cf28a
1 changed files with 18 additions and 11 deletions
|
|
@ -13,24 +13,31 @@ const index = ref<number>(0);
|
||||||
function addData() {
|
function addData() {
|
||||||
index.value++;
|
index.value++;
|
||||||
customerBranch.value.push({
|
customerBranch.value.push({
|
||||||
status: 'CREATED',
|
|
||||||
legalPersonNo: '',
|
|
||||||
taxNo: '',
|
|
||||||
name: '',
|
|
||||||
nameEN: '',
|
|
||||||
addressEN: '',
|
|
||||||
address: '',
|
address: '',
|
||||||
|
addressEN: '',
|
||||||
|
provinceId: '',
|
||||||
|
districtId: '',
|
||||||
|
subDistrictId: '',
|
||||||
zipCode: '',
|
zipCode: '',
|
||||||
email: '',
|
email: '',
|
||||||
telephoneNo: '',
|
telephoneNo: '',
|
||||||
longitude: '',
|
name: '',
|
||||||
latitude: '',
|
status: 'CREATED',
|
||||||
|
taxNo: '',
|
||||||
|
nameEN: '',
|
||||||
|
legalPersonNo: '',
|
||||||
registerName: '',
|
registerName: '',
|
||||||
registerDate: null,
|
registerDate: null,
|
||||||
authorizedCapital: '',
|
authorizedCapital: '',
|
||||||
subDistrictId: '',
|
employmentOffice: '',
|
||||||
districtId: '',
|
bussinessType: '',
|
||||||
provinceId: '',
|
bussinessTypeEN: '',
|
||||||
|
jobPosition: '',
|
||||||
|
jobPositionEN: '',
|
||||||
|
jobDescription: '',
|
||||||
|
saleEmployee: '',
|
||||||
|
payDate: '',
|
||||||
|
wageDate: '',
|
||||||
});
|
});
|
||||||
|
|
||||||
tab.value = customerBranch.value.length - 1;
|
tab.value = customerBranch.value.length - 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue