From f27428a3c1bde6724d2bf3f1b8ad1f4f1e943971 Mon Sep 17 00:00:00 2001 From: Elsio Sanchez <45974454+elsiosanchez@users.noreply.github.com> Date: Tue, 6 Apr 2021 12:41:16 -0400 Subject: [PATCH] support in mobile mode (#713) --- src/components/ADempiere/Form/ProductInfo/productList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ADempiere/Form/ProductInfo/productList.vue b/src/components/ADempiere/Form/ProductInfo/productList.vue index 40f0b5c9..4d649fc6 100644 --- a/src/components/ADempiere/Form/ProductInfo/productList.vue +++ b/src/components/ADempiere/Form/ProductInfo/productList.vue @@ -21,7 +21,7 @@ :data="listWithPrice" border fit - height="550" + :height="isMobile ? '300' : '550'" highlight-current-row @row-click="findlistProductWithRow" @current-change="handleCurrentChange" @@ -228,6 +228,9 @@ export default { return process } return [] + }, + isMobile() { + return this.$store.state.app.device === 'mobile' } }, watch: {