diff --git a/src/css/app.scss b/src/css/app.scss index 57031b21d..4fec9db08 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -67,6 +67,14 @@ body.body--dark { max-width: 60em; } +.bg-vn-primary-row { + background-color: var(--vn-dark); +} + +.bg-vn-secondary-row { + background-color: var(--vn-light-gray); +} + /* Estilo para el asterisco en campos requeridos */ .q-field.required .q-field__label:after { content: ' *'; diff --git a/src/pages/Travel/ExtraCommunity.vue b/src/pages/Travel/ExtraCommunity.vue index f08cc64cb..5a72dcf27 100644 --- a/src/pages/Travel/ExtraCommunity.vue +++ b/src/pages/Travel/ExtraCommunity.vue @@ -51,57 +51,55 @@ const rows = computed(() => arrayData.store.data || []); const tableColumnComponents = { id: { component: QBtn, - attrs: () => ({ flat: true, color: 'blue', class: 'col-content' }), + attrs: { flat: true, color: 'primary' }, }, cargoSupplierNickname: { component: QBtn, - attrs: () => ({ flat: true, color: 'blue', class: 'col-content' }), + attrs: { flat: true, color: 'primary', dense: true }, }, agencyModeName: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, invoiceAmount: { component: 'span', - attrs: () => ({ - class: 'col-content', - }), + attrs: {}, }, ref: { component: QField, - attrs: () => ({ readonly: true, dense: true }), + attrs: { readonly: true, dense: true, class: 'cursor-pointer' }, }, stickers: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, kg: { - component: 'span', - attrs: () => ({ class: 'col-content' }), + component: QField, + attrs: { readonly: true, dense: true, class: 'cursor-pointer' }, }, loadedKg: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, volumeKg: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, warehouseOutName: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, shipped: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, warehouseInName: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, landed: { component: 'span', - attrs: () => ({ class: 'col-content' }), + attrs: {}, }, }; @@ -110,7 +108,7 @@ const columns = computed(() => [ label: 'id', field: 'id', name: 'id', - align: 'left', + align: 'center', showValue: true, }, { @@ -161,7 +159,7 @@ const columns = computed(() => [ field: 'kg', name: 'kg', align: 'left', - showValue: true, + showValue: false, }, { label: t('physicKg'), @@ -237,7 +235,7 @@ const navigateToTravelId = (id) => { }; const stopEventPropagation = (event, col) => { - if (!['ref', 'id', 'cargoSupplierNickname'].includes(col.name)) return; + if (!['ref', 'id', 'cargoSupplierNickname', 'kg'].includes(col.name)) return; event.preventDefault(); event.stopPropagation(); }; @@ -290,13 +288,13 @@ onMounted(async () => { hide-bottom row-key="clientId" :pagination="{ rowsPerPage: 0 }" - class="full-width q-mt-md" + class="full-width" >