Merge branch 'dev' into 8004-liliumStyleRemake
This commit is contained in:
commit
fd1261973f
|
@ -26,6 +26,7 @@ const provinceOpts = ref([]);
|
||||||
const stateOpts = ref([]);
|
const stateOpts = ref([]);
|
||||||
const zoneOpts = ref([]);
|
const zoneOpts = ref([]);
|
||||||
const DepartmentOpts = ref([]);
|
const DepartmentOpts = ref([]);
|
||||||
|
const PayMethodOpts = ref([]);
|
||||||
const ItemPackingTypeOpts = ref([]);
|
const ItemPackingTypeOpts = ref([]);
|
||||||
const stateStore = useStateStore();
|
const stateStore = useStateStore();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
|
@ -223,7 +224,16 @@ const columns = computed(() => [
|
||||||
label: t('salesTicketsTable.payMethod'),
|
label: t('salesTicketsTable.payMethod'),
|
||||||
name: 'payMethod',
|
name: 'payMethod',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
columnFilter: false,
|
columnFilter: {
|
||||||
|
component: 'select',
|
||||||
|
url: 'PayMethods',
|
||||||
|
attrs: {
|
||||||
|
options: PayMethodOpts.value,
|
||||||
|
optionValue: 'id',
|
||||||
|
optionLabel: 'name',
|
||||||
|
dense: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('salesTicketsTable.total'),
|
label: t('salesTicketsTable.total'),
|
||||||
|
@ -244,11 +254,8 @@ const columns = computed(() => [
|
||||||
align: 'left',
|
align: 'left',
|
||||||
columnFilter: {
|
columnFilter: {
|
||||||
component: 'select',
|
component: 'select',
|
||||||
url: 'Departments',
|
|
||||||
attrs: {
|
attrs: {
|
||||||
options: DepartmentOpts.value,
|
options: DepartmentOpts.value,
|
||||||
optionValue: 'name',
|
|
||||||
optionLabel: 'name',
|
|
||||||
dense: true,
|
dense: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -364,6 +371,15 @@ const openTab = (id) =>
|
||||||
auto-load
|
auto-load
|
||||||
@on-fetch="(data) => (DepartmentOpts = data)"
|
@on-fetch="(data) => (DepartmentOpts = data)"
|
||||||
/>
|
/>
|
||||||
|
<FetchData
|
||||||
|
url="PayMethods"
|
||||||
|
:filter="{
|
||||||
|
fields: ['id', 'name'],
|
||||||
|
order: 'id ASC',
|
||||||
|
}"
|
||||||
|
auto-load
|
||||||
|
@on-fetch="(data) => (PayMethodOpts = data)"
|
||||||
|
/>
|
||||||
<MonitorTicketSearchbar />
|
<MonitorTicketSearchbar />
|
||||||
<RightMenu>
|
<RightMenu>
|
||||||
<template #right-panel>
|
<template #right-panel>
|
||||||
|
@ -383,7 +399,7 @@ const openTab = (id) =>
|
||||||
auto-load
|
auto-load
|
||||||
:row-click="({ id }) => openTab(id)"
|
:row-click="({ id }) => openTab(id)"
|
||||||
:disable-option="{ card: true }"
|
:disable-option="{ card: true }"
|
||||||
:user-params="{ from, to, scopeDays: 0, packing }"
|
:user-params="{ from, to, scopeDays: 0 }"
|
||||||
>
|
>
|
||||||
<template #top-left>
|
<template #top-left>
|
||||||
<QBtn
|
<QBtn
|
||||||
|
|
Loading…
Reference in New Issue