forked from verdnatura/salix-front
updates
This commit is contained in:
parent
f347755ea5
commit
32d11edb2f
|
@ -24,7 +24,8 @@ const route = useRoute();
|
|||
|
||||
const itemTypeWorkersOptions = ref([]);
|
||||
const sanitizeParam = (param) => {
|
||||
const params = JSON.parse(route.query.params);
|
||||
if (!route?.query?.params) return 'false';
|
||||
const params = JSON.parse(route?.query?.params);
|
||||
return params[param] ?? 'false';
|
||||
};
|
||||
const $params = ref({});
|
||||
|
@ -46,8 +47,6 @@ const pushParam = (param) => ({
|
|||
/>
|
||||
<ItemsFilterPanel :data-key="dataKey" :custom-tags="['tags']">
|
||||
<template #body="{ params, searchFn }">
|
||||
{{ $params }}
|
||||
{{ JSON.parse(route.query.params).mine }}
|
||||
<QItem class="q-my-md">
|
||||
<QItemSection>
|
||||
<VnSelect
|
||||
|
|
|
@ -60,7 +60,7 @@ const filter = {
|
|||
const data = ref(useCardDescription());
|
||||
const setData = (entity) => {
|
||||
if (!entity) return;
|
||||
data.value = useCardDescription(entity.client.name, entity.id);
|
||||
data.value = useCardDescription(entity?.client?.name, entity?.id);
|
||||
state.set('OrderDescriptor', entity);
|
||||
};
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ const columns = computed(() => [
|
|||
{
|
||||
title: t('delete'),
|
||||
icon: 'delete',
|
||||
click: (row) => confirmRemove(row.item),
|
||||
action: (row) => confirmRemove(row),
|
||||
isPrimary: true,
|
||||
},
|
||||
],
|
||||
|
@ -272,7 +272,7 @@ const columns = computed(() => [
|
|||
</template>
|
||||
</VnTable>
|
||||
</div>
|
||||
<QPageSticky :offset="[20, 20]" v-if="!order?.isConfirmed">
|
||||
<QPageSticky :offset="[20, 20]" v-if="!order?.isConfirmed" style="z-index: 2">
|
||||
<QBtn fab icon="check" color="primary" @click="confirmOrder()" />
|
||||
<QTooltip>
|
||||
{{ t('confirm') }}
|
||||
|
|
Loading…
Reference in New Issue