#6321 - Negative ticket #158
|
@ -88,28 +88,37 @@ const rowColor = (row) => {
|
|||
// };
|
||||
const columns = computed(() => [
|
||||
{
|
||||
label: '',
|
||||
name: 'totalProblems',
|
||||
align: 'left',
|
||||
label: t('negative.detail.isBasket'),
|
||||
name: 'isBasket',
|
||||
cardVisible: true,
|
||||
create: true,
|
||||
component: 'checkbox',
|
||||
attrs: ({ row }) => {
|
||||
return {
|
||||
'toggle-indeterminate': true,
|
||||
};
|
||||
columnFilter: false,
|
||||
attrs: {
|
||||
dense: true,
|
||||
},
|
||||
columnClass: 'shrink',
|
||||
},
|
||||
{
|
||||
align: 'left',
|
||||
label: t('negative.detail.hasSubstitution'),
|
||||
name: 'hasSubstitution',
|
||||
cardVisible: true,
|
||||
create: true,
|
||||
component: 'checkbox',
|
||||
columnClass: 'shrink',
|
||||
},
|
||||
// {
|
||||
// align: 'left',
|
||||
// label: t('negative.detail.isBasket'),
|
||||
// name: 'isBasket',
|
||||
// cardVisible: true,
|
||||
// create: true,
|
||||
// component: 'checkbox',
|
||||
// attrs: ({ row }) => {
|
||||
// return {
|
||||
// 'toggle-indeterminate': true,
|
||||
// };
|
||||
// },
|
||||
// columnClass: 'shrink',
|
||||
// },
|
||||
// {
|
||||
// align: 'left',
|
||||
// label: t('negative.detail.hasSubstitution'),
|
||||
// name: 'hasSubstitution',
|
||||
// cardVisible: true,
|
||||
// create: true,
|
||||
// component: 'checkbox',
|
||||
// columnClass: 'shrink',
|
||||
// },
|
||||
{
|
||||
name: 'status',
|
||||
align: 'left',
|
||||
|
@ -255,6 +264,22 @@ function onTicketLackFetched(data) {
|
|||
:right-search="false"
|
||||
v-model:selected="selectedRows"
|
||||
>
|
||||
<template #column-totalProblems>
|
||||
{{}}
|
||||
<!-- <pre> {{ props }}</pre> -->
|
||||
<!-- v-if="!props.row.isBasket" -->
|
||||
<QIcon name="vn:basket" color="primary" size="sm">
|
||||
<QTooltip>{{ t('negative.detail.isBasket') }}</QTooltip>
|
||||
</QIcon>
|
||||
<!-- v-if="!props.row.hasToIgnore" -->
|
||||
<QIcon name="star" color="primary" size="sm">
|
||||
<QTooltip>{{ t('negative.detail.hasToIgnore') }}</QTooltip>
|
||||
</QIcon>
|
||||
<!-- v-if="!props.row.hasSubstitution" -->
|
||||
<QIcon name="change_circle" color="primary" size="sm">
|
||||
<QTooltip>{{ t('negative.detail.hasSubstitution') }}</QTooltip>
|
||||
</QIcon>
|
||||
</template>
|
||||
<template #column-alertLevelCode="props">
|
||||
<VnSelect
|
||||
:options="editableStates"
|
||||
|
|
|
@ -240,6 +240,7 @@ negative:
|
|||
showFree: Show Free lines
|
||||
isBasket: 'Basket'
|
||||
hasSubstitution: 'Has substitution'
|
||||
hasToIgnore: VIP
|
||||
modal:
|
||||
changeItem:
|
||||
title: Update item reference
|
||||
|
|
|
@ -268,6 +268,7 @@ negative:
|
|||
showFree: Solo estado libre
|
||||
isBasket: 'Cesta'
|
||||
jsegarra marked this conversation as resolved
Outdated
|
||||
hasSubstitution: 'Tiene sustitución'
|
||||
hasToIgnore: VIP
|
||||
modal:
|
||||
changeItem:
|
||||
title: Actualizar referencia artículo
|
||||
|
|
Loading…
Reference in New Issue
o ponemos comillas a todos o a ninguno
Cierto, esta se va a la basura