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() {
|
||||
index.value++;
|
||||
customerBranch.value.push({
|
||||
status: 'CREATED',
|
||||
legalPersonNo: '',
|
||||
taxNo: '',
|
||||
name: '',
|
||||
nameEN: '',
|
||||
addressEN: '',
|
||||
address: '',
|
||||
addressEN: '',
|
||||
provinceId: '',
|
||||
districtId: '',
|
||||
subDistrictId: '',
|
||||
zipCode: '',
|
||||
email: '',
|
||||
telephoneNo: '',
|
||||
longitude: '',
|
||||
latitude: '',
|
||||
name: '',
|
||||
status: 'CREATED',
|
||||
taxNo: '',
|
||||
nameEN: '',
|
||||
legalPersonNo: '',
|
||||
registerName: '',
|
||||
registerDate: null,
|
||||
authorizedCapital: '',
|
||||
subDistrictId: '',
|
||||
districtId: '',
|
||||
provinceId: '',
|
||||
employmentOffice: '',
|
||||
bussinessType: '',
|
||||
bussinessTypeEN: '',
|
||||
jobPosition: '',
|
||||
jobPositionEN: '',
|
||||
jobDescription: '',
|
||||
saleEmployee: '',
|
||||
payDate: '',
|
||||
wageDate: '',
|
||||
});
|
||||
|
||||
tab.value = customerBranch.value.length - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue