From ded21ca949819bc1e3a25bce214df5a8e7395064 Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 27 Nov 2025 11:33:32 +0100 Subject: [PATCH] Intermediate commit --- .../src/components/UI/MassEditDialog.vue | 24 +- .../layout/bulkedit/BulkEditRow.vue | 158 +++-- .../components/layout/edit/PackagingEdit.vue | 3 +- .../src/components/layout/edit/PriceEdit.vue | 2 +- .../mass/DestinationMassCreate.vue | 13 + .../destination/mass/DestinationMassEdit.vue | 14 + .../mass/DestinationMassHandlingCost.vue | 15 + .../mass/DestinationMassQuantity.vue | 15 + .../destination/mass/DestinationMassRoute.vue | 15 + src/frontend/src/main.js | 5 +- .../src/pages/CalculationMassEdit.vue | 446 ++++++++------ src/frontend/src/store/destinationEdit.js | 329 ++++++++++ src/frontend/src/store/premiseEdit.js | 560 +++--------------- .../db/packaging/PackagingDimension.java | 17 + .../premise/PremiseRepository.java | 26 +- .../lcc/service/access/PremisesService.java | 4 +- .../calculation/PremiseCreationService.java | 12 +- 17 files changed, 953 insertions(+), 705 deletions(-) create mode 100644 src/frontend/src/components/layout/edit/destination/mass/DestinationMassCreate.vue create mode 100644 src/frontend/src/components/layout/edit/destination/mass/DestinationMassEdit.vue create mode 100644 src/frontend/src/components/layout/edit/destination/mass/DestinationMassHandlingCost.vue create mode 100644 src/frontend/src/components/layout/edit/destination/mass/DestinationMassQuantity.vue create mode 100644 src/frontend/src/components/layout/edit/destination/mass/DestinationMassRoute.vue create mode 100644 src/frontend/src/store/destinationEdit.js diff --git a/src/frontend/src/components/UI/MassEditDialog.vue b/src/frontend/src/components/UI/MassEditDialog.vue index 2c916c8..019714e 100644 --- a/src/frontend/src/components/UI/MassEditDialog.vue +++ b/src/frontend/src/components/UI/MassEditDialog.vue @@ -3,14 +3,19 @@ name="list-edit-transition" tag="div" class="list-edit-container" - >
-
{{selectCount}}
-
Material
-
Price
-
Packaging
-
Destinations & Routes
+
{{selectCount}}
+ + + Material + Price + Packaging + Annual quantity + Routes + + + Cancel
@@ -19,11 +24,12 @@ + + + + \ No newline at end of file diff --git a/src/frontend/src/components/layout/edit/destination/mass/DestinationMassEdit.vue b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassEdit.vue new file mode 100644 index 0000000..12648ba --- /dev/null +++ b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassEdit.vue @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/src/frontend/src/components/layout/edit/destination/mass/DestinationMassHandlingCost.vue b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassHandlingCost.vue new file mode 100644 index 0000000..6805a9a --- /dev/null +++ b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassHandlingCost.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/src/frontend/src/components/layout/edit/destination/mass/DestinationMassQuantity.vue b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassQuantity.vue new file mode 100644 index 0000000..e206831 --- /dev/null +++ b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassQuantity.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/src/frontend/src/components/layout/edit/destination/mass/DestinationMassRoute.vue b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassRoute.vue new file mode 100644 index 0000000..aa8c9fe --- /dev/null +++ b/src/frontend/src/components/layout/edit/destination/mass/DestinationMassRoute.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/src/frontend/src/main.js b/src/frontend/src/main.js index 25fbcdc..c19cce7 100644 --- a/src/frontend/src/main.js +++ b/src/frontend/src/main.js @@ -34,7 +34,7 @@ import { PhUpload, PhWarning, PhX, - PhExclamationMark, PhMapPin, PhEmpty, PhShippingContainer + PhExclamationMark, PhMapPin, PhEmpty, PhShippingContainer, PhPackage, PhVectorThree, PhTag } from "@phosphor-icons/vue"; import {setupSessionRefresh} from "@/store/activeuser.js"; @@ -78,6 +78,9 @@ app.component("PhHardDrives", PhHardDrives ); app.component("PhClipboard", PhClipboard ); app.component("PhExclamationMark", PhExclamationMark ); app.component("PhMapPin", PhMapPin); +app.component("PhPackage", PhPackage); +app.component("PhVectorThree", PhVectorThree); +app.component("PhTag", PhTag); app.use(router); diff --git a/src/frontend/src/pages/CalculationMassEdit.vue b/src/frontend/src/pages/CalculationMassEdit.vue index d8cefdf..11b9b8b 100644 --- a/src/frontend/src/pages/CalculationMassEdit.vue +++ b/src/frontend/src/pages/CalculationMassEdit.vue @@ -1,5 +1,6 @@