From fe7daccaddac592786c8f20401674b598a71ca7e Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Mon, 27 Mar 2023 16:42:02 +0100 Subject: [PATCH] added main markup for complaint add/edit --- "\\" | 168 +++++++++++++++++++++ src/components/DriverSearch.vue | 75 ++++++++++ src/types/ComplaintType.vue | 2 +- src/views/complaints/ComplaintEdit.vue | 187 ++++++++++++++++++++++++ src/views/complaints/ComplaintsList.vue | 143 ++++++++++-------- 5 files changed, 512 insertions(+), 63 deletions(-) create mode 100644 "\\" create mode 100644 src/components/DriverSearch.vue create mode 100644 src/views/complaints/ComplaintEdit.vue diff --git "a/\\" "b/\\" new file mode 100644 index 0000000..00f3ec7 --- /dev/null +++ "b/\\" @@ -0,0 +1,168 @@ + + + + diff --git a/src/components/DriverSearch.vue b/src/components/DriverSearch.vue new file mode 100644 index 0000000..159e87e --- /dev/null +++ b/src/components/DriverSearch.vue @@ -0,0 +1,75 @@ + + + + diff --git a/src/types/ComplaintType.vue b/src/types/ComplaintType.vue index f53850b..4ef4f99 100644 --- a/src/types/ComplaintType.vue +++ b/src/types/ComplaintType.vue @@ -3,7 +3,7 @@ import Customer from '@/types/CustomerType.vue' import ComplaintInfo from '@/types/ComplaintInfoType.vue' export default class Complaint { id = 0 - complaint_date = "" + complaint_date = new Date() delivery_date = "" reason = "" sop = {} diff --git a/src/views/complaints/ComplaintEdit.vue b/src/views/complaints/ComplaintEdit.vue new file mode 100644 index 0000000..502cc0d --- /dev/null +++ b/src/views/complaints/ComplaintEdit.vue @@ -0,0 +1,187 @@ + + diff --git a/src/views/complaints/ComplaintsList.vue b/src/views/complaints/ComplaintsList.vue index 27def12..59db244 100644 --- a/src/views/complaints/ComplaintsList.vue +++ b/src/views/complaints/ComplaintsList.vue @@ -1,84 +1,88 @@