From c22c7e2b06db4329273fc94051e0418f754b83c7 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Wed, 11 Oct 2023 00:57:27 -0400 Subject: [PATCH] date stuff --- .../NewCalibrationDeviceForm.vue | 4 +- benchtop-fe/src/components/PDF/PDF.vue | 632 ++++++++++-------- 2 files changed, 351 insertions(+), 285 deletions(-) diff --git a/benchtop-fe/src/components/CalibrationDevice/NewCalibrationDeviceForm.vue b/benchtop-fe/src/components/CalibrationDevice/NewCalibrationDeviceForm.vue index fa6ddc2..e66a5f9 100644 --- a/benchtop-fe/src/components/CalibrationDevice/NewCalibrationDeviceForm.vue +++ b/benchtop-fe/src/components/CalibrationDevice/NewCalibrationDeviceForm.vue @@ -80,8 +80,8 @@ import "@vuepic/vue-datepicker/dist/main.css"; const model = ref(""), serial = ref(""), cert_id = ref(""), - due_date = ref(""), - date = ref(""); + due_date = ref(new Date), + date = ref(new Date); const flow = ref(["year", "month", "calendar"]); diff --git a/benchtop-fe/src/components/PDF/PDF.vue b/benchtop-fe/src/components/PDF/PDF.vue index 88fce68..b1a1cc9 100644 --- a/benchtop-fe/src/components/PDF/PDF.vue +++ b/benchtop-fe/src/components/PDF/PDF.vue @@ -1,273 +1,310 @@