fix: แก้ type ให้ตรงกัน

This commit is contained in:
Net 2024-06-06 17:08:30 +07:00
parent 863de9da18
commit 32dc0cf28a

View file

@ -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;