fix: function name
This commit is contained in:
parent
5c978fd8f3
commit
4428dad765
1 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ export const useQuotationForm = defineStore('form-quotation', () => {
|
|||
return JSON.stringify(resetData) !== JSON.stringify(currData);
|
||||
}
|
||||
|
||||
function submitEmployee(data: EmployeeWorker) {
|
||||
function injectNewEmployee(data: EmployeeWorker) {
|
||||
currentFormData.value.worker.push({
|
||||
alienReferencNumber: data.alienReferencNumber,
|
||||
documentExpireDate: data.documentExpireDate,
|
||||
|
|
@ -72,6 +72,6 @@ export const useQuotationForm = defineStore('form-quotation', () => {
|
|||
return {
|
||||
currentFormData,
|
||||
|
||||
submitEmployee,
|
||||
injectNewEmployee,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue