diff --git a/src/pages/Ticket/Negative/TicketLackList.vue b/src/pages/Ticket/Negative/TicketLackList.vue index 2ee2ef1e3..fbbf33cf3 100644 --- a/src/pages/Ticket/Negative/TicketLackList.vue +++ b/src/pages/Ticket/Negative/TicketLackList.vue @@ -4,6 +4,7 @@ import { useI18n } from 'vue-i18n'; import { useStateStore } from 'stores/useStateStore'; import VnPaginate from 'components/ui/VnPaginate.vue'; import TicketLackFilter from 'pages/Ticket/Negative/TicketLackFilter.vue'; +import TicketLackDetail from 'pages/Ticket/Negative/TicketLackDetail.vue'; // import TicketLackDialogProxy from 'src/pages/Ticket/Negative/TicketLackDialogProxy.vue'; import NegativeOriginDialog from 'pages/Ticket/Negative/NegativeOriginDialog.vue'; import TotalNegativeOriginDialog from 'pages/Ticket/Negative/TotalNegativeOriginDialog.vue'; @@ -23,13 +24,8 @@ import { useRoute, useRouter } from 'vue-router'; const route = useRoute(); const router = useRouter(); -const viewSummary = ({ itemFk: id }) => { - router.push({ - name: 'TicketLackCard', - params: { - id: '1', - }, - }); +const viewSummary = async (row) => { + currentRow.value = row; }; const originDialogRef = ref(); const totalNegativeDialogRef = ref(); @@ -117,7 +113,18 @@ const columns = computed(() => [ -
+
+
+ +