From cb0d3c5bca1319b995fcba4add6dd138372fb7ee Mon Sep 17 00:00:00 2001 From: pablone Date: Mon, 30 Sep 2024 09:46:00 +0200 Subject: [PATCH] fix: refs #7404 sticky footer and transparent header for vnTable --- src/components/LeftMenuItem.vue | 1 - src/components/VnTable/VnTable.vue | 44 ++++++++++------------ src/pages/Entry/EntryStockBought.vue | 22 +++++++---- src/pages/Entry/EntryStockBoughtDetail.vue | 15 +++----- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/components/LeftMenuItem.vue b/src/components/LeftMenuItem.vue index ab74c1de5..a3112b17f 100644 --- a/src/components/LeftMenuItem.vue +++ b/src/components/LeftMenuItem.vue @@ -44,7 +44,6 @@ const itemComputed = computed(() => { - diff --git a/src/pages/Entry/EntryStockBought.vue b/src/pages/Entry/EntryStockBought.vue index 4750a8417..b41973243 100644 --- a/src/pages/Entry/EntryStockBought.vue +++ b/src/pages/Entry/EntryStockBought.vue @@ -47,7 +47,7 @@ const columns = [ }, }, { - align: 'left', + align: 'center', label: t('Reserve'), name: 'reserve', columnFilter: false, @@ -141,6 +141,10 @@ function setFooter(data) { }); tableRef.value.footer = footer; } + +function round(value) { + return Math.round(value * 100) / 100; +} +
- +
- +