#6321 - Negative ticket #158
|
@ -470,8 +470,12 @@ export default {
|
|||
itemFk:'Articulo',
|
||||
ticketFk:'Id_Ticket',
|
||||
code:'code',
|
||||
nickname:'Usuario',
|
||||
nickname:'Alias',
|
||||
name:'Nombre',
|
||||
zoneName:'Nombre Agencia',
|
||||
shipped:'Fecha',
|
||||
theoreticalhour:'Hora teórica',
|
||||
agName:'Agencia',
|
||||
quantity:'Cantidad',
|
||||
alertLevel:'Nivel de alerta',
|
||||
alertLevelCode:'Estado de Alerta',
|
||||
|
|
|
@ -8,6 +8,7 @@ import FetchData from 'src/components/FetchData.vue';
|
|||
import VnSelectFilter from 'components/common/VnSelectFilter.vue';
|
||||
import VnInput from 'src/components/common/VnInput.vue';
|
||||
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
|
||||
import { toDate, toHour } from 'src/filters';
|
||||
|
||||
import { useDialogPluginComponent } from 'quasar';
|
||||
const { t } = useI18n();
|
||||
|
@ -113,11 +114,11 @@ const tableColumnComponents = computed(() => ({
|
|||
props: { color: 'blue', flat: true },
|
||||
event: () => ({}),
|
||||
},
|
||||
code: {
|
||||
component: 'span',
|
||||
props: {},
|
||||
event: () => ({}),
|
||||
},
|
||||
// code: {
|
||||
// component: 'span',
|
||||
// props: {},
|
||||
// event: () => ({}),
|
||||
// },
|
||||
shipped: {
|
||||
component: 'span',
|
||||
props: {},
|
||||
|
@ -133,13 +134,14 @@ const tableColumnComponents = computed(() => ({
|
|||
type: 'select',
|
||||
filterValue: null,
|
||||
|
||||
attrs: {
|
||||
props: {
|
||||
'option-value': 'id',
|
||||
'option-label': 'name',
|
||||
'emit-value': false,
|
||||
'map-options': false,
|
||||
'use-input': false,
|
||||
'hide-selected': false,
|
||||
'emit-value': true,
|
||||
'map-options': true,
|
||||
'use-input': true,
|
||||
'hide-selected': true,
|
||||
dense: true,
|
||||
options: editableStates.value,
|
||||
},
|
||||
event: getInputEvents,
|
||||
|
@ -191,12 +193,23 @@ const tableColumnComponents = computed(() => ({
|
|||
|
||||
peticionCompra: {
|
||||
component: QCheckbox,
|
||||
props: {},
|
||||
props: {
|
||||
disabled: true,
|
||||
},
|
||||
event: getInputEvents,
|
||||
},
|
||||
isRookie: {
|
||||
component: QCheckbox,
|
||||
props: {},
|
||||
props: {
|
||||
disabled: true,
|
||||
},
|
||||
event: getInputEvents,
|
||||
},
|
||||
turno: {
|
||||
component: QCheckbox,
|
||||
props: {
|
||||
disabled: true,
|
||||
},
|
||||
event: getInputEvents,
|
||||
},
|
||||
actions: {
|
||||
|
@ -213,23 +226,25 @@ const columns = computed(() => [
|
|||
field: 'ticketFk',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'code',
|
||||
label: t('ticket.negative.detail.code'),
|
||||
field: 'code',
|
||||
align: 'left',
|
||||
},
|
||||
// {
|
||||
// name: 'code',
|
||||
// label: t('ticket.negative.detail.code'),
|
||||
// field: 'code',
|
||||
// align: 'left',
|
||||
// },
|
||||
{
|
||||
name: 'shipped',
|
||||
label: t('ticket.negative.detail.shipped'),
|
||||
field: 'shipped',
|
||||
align: 'left',
|
||||
format: (val) => toDate(val),
|
||||
},
|
||||
{
|
||||
name: 'theoreticalhour',
|
||||
label: t('ticket.negative.detail.theoreticalhour'),
|
||||
field: 'theoreticalhour',
|
||||
align: 'left',
|
||||
format: (val) => toHour(val),
|
||||
},
|
||||
{
|
||||
name: 'state',
|
||||
|
|
Loading…
Reference in New Issue