diff --git a/src/pages/Item/ItemRequest.vue b/src/pages/Item/ItemRequest.vue index 4f037529a..ad6e5663e 100644 --- a/src/pages/Item/ItemRequest.vue +++ b/src/pages/Item/ItemRequest.vue @@ -1,42 +1,33 @@ + + + + + { :columns="columns" :user-params="userParams" :is-editable="true" + :right-search="false" auto-load :disable-option="{ card: true }" chip-locale="item.params" @@ -297,14 +289,17 @@ onMounted(async () => { handleScopeDays(evt.target.value)" @remove="handleScopeDays()" class="q-px-xs q-pr-lg" filled dense + lazy-rules + is-outlined /> + { }; } }; - -const add = (paramsObj, key) => { - if (paramsObj[key] === undefined) { - paramsObj[key] = 1; - } else { - paramsObj[key]++; - } -}; - -const decrement = (paramsObj, key) => { - if (paramsObj[key] === 0) return; - - paramsObj[key]--; -}; @@ -79,8 +64,7 @@ const decrement = (paramsObj, key) => { {{ t(`params.${tag.label}`) }}: - {{ formatFn(tag.value) }} - {{ t(`${tag.value}`) }} + {{ formatFn(tag.value) }} @@ -174,83 +158,6 @@ const decrement = (paramsObj, key) => { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ t('dateFiltersTooltip') }} - - - - - - - - { /> + + + + + diff --git a/src/pages/Worker/Card/WorkerPit.vue b/src/pages/Worker/Card/WorkerPit.vue index c58196c7b..79cf1a04f 100644 --- a/src/pages/Worker/Card/WorkerPit.vue +++ b/src/pages/Worker/Card/WorkerPit.vue @@ -23,6 +23,7 @@ const insertTag = () => { workerPitCrudRef.value.insert(); }; const quasar = useQuasar(); + const deleteRelative = async (id) => { await new Promise((resolve) => { quasar @@ -62,7 +63,6 @@ const deleteRelative = async (id) => { > - { :label="t(`spousePension`)" /> - - + + { :filter="{ where: { workerFk: route.params.id }, }" - :data-required="{ workerFk: route.params.id }" + :data-required="{ + workerFk: route.params.id, + isJointCustody: false, + isDependend: false, + }" :has-sub-toolbar="false" >