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() { 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;