refactor: set value default
This commit is contained in:
parent
25dc9c1a92
commit
6b277687f4
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ const DEFAULT_DATA: QuotationPayload = {
|
|||
registeredBranchId: '',
|
||||
_count: { worker: 0 },
|
||||
status: 'CREATED',
|
||||
remark: undefined,
|
||||
};
|
||||
|
||||
export const useQuotationForm = defineStore('form-quotation', () => {
|
||||
|
|
@ -219,6 +220,7 @@ export const useQuotationForm = defineStore('form-quotation', () => {
|
|||
}
|
||||
|
||||
return {
|
||||
DEFAULT_DATA,
|
||||
currentFormState,
|
||||
currentFormData,
|
||||
newWorkerList,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue