fix: refs #6389 front add packing filter
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
0ecc103fc2
commit
3d666338ce
|
@ -56,8 +56,6 @@ function exprBuilder(param, value) {
|
||||||
case 'zoneFk':
|
case 'zoneFk':
|
||||||
case 'department':
|
case 'department':
|
||||||
return { 'd.name': value };
|
return { 'd.name': value };
|
||||||
case 'packing':
|
|
||||||
return { 'i.itemPackingTypeFk': { like: `%${value}%` } };
|
|
||||||
case 'totalWithVat':
|
case 'totalWithVat':
|
||||||
return { [`t.${param}`]: value };
|
return { [`t.${param}`]: value };
|
||||||
}
|
}
|
||||||
|
@ -400,7 +398,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 }"
|
:user-params="{ from, to, scopeDays: 0, packing }"
|
||||||
>
|
>
|
||||||
<template #top-left>
|
<template #top-left>
|
||||||
<QBtn
|
<QBtn
|
||||||
|
|
Loading…
Reference in New Issue