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: '',
|
registeredBranchId: '',
|
||||||
_count: { worker: 0 },
|
_count: { worker: 0 },
|
||||||
status: 'CREATED',
|
status: 'CREATED',
|
||||||
|
remark: undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const useQuotationForm = defineStore('form-quotation', () => {
|
export const useQuotationForm = defineStore('form-quotation', () => {
|
||||||
|
|
@ -219,6 +220,7 @@ export const useQuotationForm = defineStore('form-quotation', () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
DEFAULT_DATA,
|
||||||
currentFormState,
|
currentFormState,
|
||||||
currentFormData,
|
currentFormData,
|
||||||
newWorkerList,
|
newWorkerList,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue