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 = {
|
const defaultFormData: CustomerCreate = {
|
||||||
code: '',
|
code: '',
|
||||||
status: 'CREATED',
|
status: 'CREATED',
|
||||||
personName: '',
|
|
||||||
customerType: 'CORP',
|
customerType: 'CORP',
|
||||||
customerName: '',
|
namePrefix: '',
|
||||||
customerNameEN: '',
|
firstName: '',
|
||||||
taxNo: '',
|
lastName: '',
|
||||||
|
firstNameEN: '',
|
||||||
|
lastNameEN: '',
|
||||||
|
gender: '',
|
||||||
|
birthDate: new Date(),
|
||||||
registeredBranchId: branchStore.currentMyBranch?.id || '',
|
registeredBranchId: branchStore.currentMyBranch?.id || '',
|
||||||
customerBranch: [],
|
customerBranch: [],
|
||||||
image: null,
|
image: null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue