#6321 - Improve Tickets negatives #1388

Open
jsegarra wants to merge 25 commits from fix_ticketNegatives into dev
2 changed files with 13 additions and 23 deletions
Showing only changes of commit cec625b269 - Show all commits

View File

@ -94,7 +94,7 @@ const setUserParams = (params) => {
<QItem>
<QItemSection>
<VnInput
v-model="params.id"
v-model="params.itemFk"
:label="t('negative.id')"
dense
is-outlined
@ -102,25 +102,6 @@ const setUserParams = (params) => {
</QItemSection>
</QItem>
<QItem>
<QItemSection>
<VnInput
v-model="params.producer"
:label="t('negative.producer')"
dense
is-outlined
/>
</QItemSection>
</QItem>
<QItem>
<QItemSection>
<VnInput
v-model="params.origen"
:label="t('negative.origen')"
dense
is-outlined
/>
</QItemSection> </QItem
><QItem>
<QItemSection v-if="categoriesOptions">
<VnSelect
:label="t('negative.categoryFk')"

View File

@ -70,10 +70,14 @@ const columns = computed(() => [
},
{
name: 'longName',
align: 'center',
align: 'left',
label: t('negative.longName'),
field: ({ longName }) => longName,
columnFilter: {
component: 'input',
inWhere: false,
useLike: true,
},
sortable: true,
headerStyle: 'width: 350px',
cardVisible: true,
@ -88,12 +92,17 @@ const columns = computed(() => [
columnClass: 'shrink',
},
{
name: 'inkFk',
name: 'colour',
align: 'center',
label: t('negative.colour'),
field: ({ inkFk }) => inkFk,
sortable: true,
cardVisible: true,
columnFilter: {
component: 'input',
columnClass: 'shrink',
inWhere: false,
},
},
{
name: 'size',