refactor: edit defaultFormData
This commit is contained in:
parent
1d2e3fd4f8
commit
f2301c3580
1 changed files with 7 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue