refactor: edit defaultFormData

This commit is contained in:
Net 2024-08-20 17:58:11 +07:00
parent 1d2e3fd4f8
commit f2301c3580

View file

@ -17,11 +17,14 @@ export const useCustomerForm = defineStore('form-customer', () => {
const defaultFormData: CustomerCreate = {
code: '',
status: 'CREATED',
personName: '',
customerType: 'CORP',
customerName: '',
customerNameEN: '',
taxNo: '',
namePrefix: '',
firstName: '',
lastName: '',
firstNameEN: '',
lastNameEN: '',
gender: '',
birthDate: new Date(),
registeredBranchId: branchStore.currentMyBranch?.id || '',
customerBranch: [],
image: null,