From 8c6e399fd2ba14b30d3c17958a59dc299ee21885 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 17 Sep 2024 14:06:14 +0200 Subject: [PATCH] feat: remove comments --- src/pages/Item/components/ItemProposal.vue | 111 ------------------ .../Ticket/Negative/TicketLackDetail.vue | 57 +-------- .../Ticket/Negative/TicketLackFilter.vue | 22 +--- src/pages/Ticket/Negative/TicketLackList.vue | 30 ----- src/pages/Ticket/Negative/TicketLackTable.vue | 31 ----- .../components/ChangeQuantityDialog.vue | 18 +-- .../Negative/components/ChangeStateDialog.vue | 18 +-- .../Negative/components/HandleSplited.vue | 11 -- .../components/NegativeOriginDialog.vue | 9 +- 9 files changed, 5 insertions(+), 302 deletions(-) diff --git a/src/pages/Item/components/ItemProposal.vue b/src/pages/Item/components/ItemProposal.vue index 1fd7aa903..757aa9491 100644 --- a/src/pages/Item/components/ItemProposal.vue +++ b/src/pages/Item/components/ItemProposal.vue @@ -1,22 +1,17 @@ - - - - - diff --git a/src/pages/Ticket/Negative/TicketLackTable.vue b/src/pages/Ticket/Negative/TicketLackTable.vue index cb33662d2..2f27a547c 100644 --- a/src/pages/Ticket/Negative/TicketLackTable.vue +++ b/src/pages/Ticket/Negative/TicketLackTable.vue @@ -3,12 +3,8 @@ import { computed, ref, watch } from 'vue'; import { useI18n } from 'vue-i18n'; import axios from 'axios'; import FetchData from 'src/components/FetchData.vue'; -import VnSelect from 'components/common/VnSelect.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 useNotify from 'src/composables/useNotify.js'; -import { useDialogPluginComponent } from 'quasar'; import ZoneDescriptorProxy from 'pages/Zone/Card/ZoneDescriptorProxy.vue'; import { useRoute } from 'vue-router'; import VnTable from 'src/components/VnTable/VnTable.vue'; @@ -46,13 +42,6 @@ const { notify } = useNotify(); const route = useRoute(); const itemLack = ref(null); -// defineProps({ -// rows: { -// type: [Object], -// required: true, -// default: () => {}, -// }, -// }); const getInputEvents = (colField, props) => ({ 'update:modelValue': () => saveChange(colField, props), 'keyup.enter': () => saveChange(colField, props), @@ -181,21 +170,8 @@ const columns = computed(() => [ sortable: true, component: 'input', type: 'number', - // attrs: ({ row }) => { - // return { - // workerId: row.workerFk, - // name: row.userName, - // } - // attrs: (props) => ({ - // events: getInputEvents(props), - // }), }, ]); -const emit = defineEmits([...useDialogPluginComponent.emits, 'selection', 'close']); -function rowsHasSelected(selection) { - emit('selection', selection); -} - const itemLackForm = ref(); const reload = async () => { @@ -203,8 +179,6 @@ const reload = async () => { }; defineExpose({ reload }); -// FunciĆ³n de comparaciĆ³n - const tableRef = ref(null); @@ -233,7 +207,6 @@ const tableRef = ref(null); @on-fetch=" (data) => { itemLack = data[0]; - // itemLackForm.value.fetch(); } " auto-load @@ -259,10 +232,6 @@ const tableRef = ref(null); :right-search="false" v-model:selected="rowsSelected" > -