fix: แก้ type

This commit is contained in:
Net 2024-04-24 10:23:19 +07:00
parent d02a82f7e1
commit 819bd2e213

View file

@ -28,24 +28,32 @@ const formData = ref<CustomerCreate>({
customerNameEN: '', customerNameEN: '',
customerBranch: [ customerBranch: [
{ {
status: 'CREATED',
legalPersonNo: '',
taxNo: '',
name: '',
nameEN: '',
addressEN: '',
address: '', address: '',
addressEN: '',
provinceId: '',
districtId: '',
subDistrictId: '',
zipCode: '', zipCode: '',
email: '', email: '',
telephoneNo: '', telephoneNo: '',
longitude: '', status: 'CREATED',
latitude: '', name: '',
taxNo: '',
nameEN: '',
legalPersonNo: '',
registerName: '', registerName: '',
registerDate: null, registerDate: null,
authorizedCapital: '', authorizedCapital: '',
subDistrictId: '', employmentOffice: '',
districtId: '', bussinessType: '',
provinceId: '', bussinessTypeEN: '',
jobPosition: '',
jobPositionEN: '',
jobDescription: '',
saleEmployee: '',
payDate: '',
wageDate: '',
file: new File([''], 'dummy.jpg'),
}, },
], ],
image: new File([''], 'dummy.jpg'), image: new File([''], 'dummy.jpg'),
@ -158,8 +166,8 @@ function onClose() {
<!-- stat --> <!-- stat -->
<AppBox bordered class="column full-width"> <AppBox bordered class="column full-width">
<div class="text-weight-bold text-subtitle1"> <div class="text-weight-bold text-subtitle1">
{{ $t('customerStatTitle') }} {{ $t('customerStatTitle') }}
</div> </div>
<div class="row full-width q-py-md" style="overflow-x: auto"> <div class="row full-width q-py-md" style="overflow-x: auto">
<StatCardComponent <StatCardComponent