From be347225c4c42ff26c4e9e57fc0d860166d3a044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Sat, 17 Apr 2021 14:44:25 +0200 Subject: [PATCH] [pricelist] some more style --- .../BuildManual/BuildManualVolume.vue | 15 ++++- .../pricelist/components/CalculationTable.vue | 3 - .../CalculationTable/DrinkPriceVolumes.vue | 2 +- .../CalculationTable/Ingredients.vue | 60 ++++++++++--------- .../pricelist/components/DrinkTypes.vue | 6 ++ .../pricelist/components/ExtraIngredients.vue | 39 ++++-------- .../pricelist/components/Pricelist.vue | 1 + src/plugins/pricelist/components/Tags.vue | 13 +++- src/plugins/pricelist/store.ts | 3 - 9 files changed, 78 insertions(+), 64 deletions(-) diff --git a/src/plugins/pricelist/components/BuildManual/BuildManualVolume.vue b/src/plugins/pricelist/components/BuildManual/BuildManualVolume.vue index 855ea46..66b1fcd 100644 --- a/src/plugins/pricelist/components/BuildManual/BuildManualVolume.vue +++ b/src/plugins/pricelist/components/BuildManual/BuildManualVolume.vue @@ -6,13 +6,17 @@ animated swipeable control-color="primary" - navigation arrows > +
+
+ +
+
diff --git a/src/plugins/pricelist/components/CalculationTable.vue b/src/plugins/pricelist/components/CalculationTable.vue index 334ee73..80e92cd 100644 --- a/src/plugins/pricelist/components/CalculationTable.vue +++ b/src/plugins/pricelist/components/CalculationTable.vue @@ -438,7 +438,6 @@ export default defineComponent({ for (const volume of toDeleteObjects.volumes) { await store.deleteVolume(volume, drink); } - console.log(drink); if (drink.id > 0) { await store.updateDrink(drink); } else { @@ -474,7 +473,6 @@ export default defineComponent({ function image(uuid: string | undefined) { if (uuid) { - console.log(baseURL.value); return `${baseURL.value}/pricelist/picture/${uuid}?size=256`; } return 'no-image.svg'; @@ -493,7 +491,6 @@ export default defineComponent({ drinkPic, savePicture, deletePicture, - console, search, filter, search_keys, diff --git a/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue b/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue index 9fd8611..d7dca5f 100644 --- a/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue +++ b/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue @@ -126,7 +126,7 @@
- +
diff --git a/src/plugins/pricelist/components/CalculationTable/Ingredients.vue b/src/plugins/pricelist/components/CalculationTable/Ingredients.vue index 0eba5e1..7090199 100644 --- a/src/plugins/pricelist/components/CalculationTable/Ingredients.vue +++ b/src/plugins/pricelist/components/CalculationTable/Ingredients.vue @@ -100,7 +100,7 @@
Neue Zutat hinzufügen - +
- - + + + + + +
-
- - +
+ +
diff --git a/src/plugins/pricelist/components/DrinkTypes.vue b/src/plugins/pricelist/components/DrinkTypes.vue index 8502da0..517e4c6 100644 --- a/src/plugins/pricelist/components/DrinkTypes.vue +++ b/src/plugins/pricelist/components/DrinkTypes.vue @@ -5,6 +5,7 @@ :row-key="(row) => row.id" :columns="columns" style="height: 100%" + :pagination="pagination" >