From 6a60c1027e1d69da0c84b34b1047a0dd151139e0 Mon Sep 17 00:00:00 2001 From: well Date: Fri, 11 Oct 2024 13:51:12 +0800 Subject: [PATCH 1/2] fix --- l2-frontend/src/ui-cards/DirectionsHistory/index.vue | 2 +- l2-frontend/src/ui-cards/Statement/StatementModal.vue | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/l2-frontend/src/ui-cards/DirectionsHistory/index.vue b/l2-frontend/src/ui-cards/DirectionsHistory/index.vue index bdaf6976dc..df30e3c951 100644 --- a/l2-frontend/src/ui-cards/DirectionsHistory/index.vue +++ b/l2-frontend/src/ui-cards/DirectionsHistory/index.vue @@ -836,7 +836,7 @@ export default { }, async selectForCourier() { const dateStart = moment(this.date_range[0], 'DD.MM.YY').format('DD.MM.YYYY'); - const dataRowsStatementDocument = await this.$api('/statement/select', { dateStart }); + await this.$api('/statement/select', { dateStart }); window.open(`/forms/pdf?type=114.01&date=${dateStart}`, '_blank'); }, printCurrentBarcodes(pk) { diff --git a/l2-frontend/src/ui-cards/Statement/StatementModal.vue b/l2-frontend/src/ui-cards/Statement/StatementModal.vue index efb6fb48da..55ae12de9b 100644 --- a/l2-frontend/src/ui-cards/Statement/StatementModal.vue +++ b/l2-frontend/src/ui-cards/Statement/StatementModal.vue @@ -170,11 +170,8 @@