diff --git a/src/pages/05_quotation/QuotationFormWorkerAddDialog.vue b/src/pages/05_quotation/QuotationFormWorkerAddDialog.vue index ece9c694..4a6207e3 100644 --- a/src/pages/05_quotation/QuotationFormWorkerAddDialog.vue +++ b/src/pages/05_quotation/QuotationFormWorkerAddDialog.vue @@ -228,6 +228,7 @@ async function getWorkerList() { query: state.search, passport: true, customerBranchId: props.customerBranchId, + activeOnly: true, }); if (!ret) return false; diff --git a/src/stores/employee/index.ts b/src/stores/employee/index.ts index 1a94ce9b..41b766a8 100644 --- a/src/stores/employee/index.ts +++ b/src/stores/employee/index.ts @@ -44,6 +44,7 @@ const useEmployeeStore = defineStore('api-employee', () => { zipCode?: string; customerId?: string; customerBranchId?: string; + activeOnly?: boolean; payload?: { passport?: string[] }; }) { const { payload, ...params } = opts || {};