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);
|
return JSON.stringify(resetData) !== JSON.stringify(currData);
|
||||||
}
|
}
|
||||||
|
|
||||||
function submitEmployee(data: EmployeeWorker) {
|
function injectNewEmployee(data: EmployeeWorker) {
|
||||||
currentFormData.value.worker.push({
|
currentFormData.value.worker.push({
|
||||||
alienReferencNumber: data.alienReferencNumber,
|
alienReferencNumber: data.alienReferencNumber,
|
||||||
documentExpireDate: data.documentExpireDate,
|
documentExpireDate: data.documentExpireDate,
|
||||||
|
|
@ -72,6 +72,6 @@ export const useQuotationForm = defineStore('form-quotation', () => {
|
||||||
return {
|
return {
|
||||||
currentFormData,
|
currentFormData,
|
||||||
|
|
||||||
submitEmployee,
|
injectNewEmployee,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue