diff --git a/src/css/app.scss b/src/css/app.scss
index 27ed65534..2c11c9ea6 100644
--- a/src/css/app.scss
+++ b/src/css/app.scss
@@ -229,3 +229,26 @@ input::-webkit-inner-spin-button {
*::-webkit-scrollbar-track {
background: transparent;
}
+
+.q-table {
+ thead,
+ tbody {
+ th {
+ .q-select {
+ max-width: 120px;
+ }
+ }
+ td {
+ padding: 1px 10px 1px 10px;
+ max-width: 100px;
+ div span {
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ }
+ }
+ .expand {
+ max-width: 400px;
+ }
+ }
+}
diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue
index 78904b473..a9e4d978e 100644
--- a/src/pages/Customer/CustomerList.vue
+++ b/src/pages/Customer/CustomerList.vue
@@ -42,6 +42,9 @@ const columns = computed(() => [
name: 'name',
isTitle: true,
create: true,
+ columnField: {
+ class: 'expand',
+ },
},
{
align: 'left',
@@ -49,6 +52,9 @@ const columns = computed(() => [
label: t('customer.extendedList.tableVisibleColumns.socialName'),
isTitle: true,
create: true,
+ columnField: {
+ class: 'expand',
+ },
},
{
align: 'left',
@@ -78,8 +84,8 @@ const columns = computed(() => [
align: 'left',
label: t('customer.extendedList.tableVisibleColumns.credit'),
name: 'credit',
- component: 'number',
columnFilter: {
+ component: 'number',
inWhere: true,
},
},
@@ -87,8 +93,8 @@ const columns = computed(() => [
align: 'left',
label: t('customer.extendedList.tableVisibleColumns.creditInsurance'),
name: 'creditInsurance',
- component: 'number',
columnFilter: {
+ component: 'number',
inWhere: true,
},
},
@@ -130,6 +136,9 @@ const columns = computed(() => [
columnFilter: {
inWhere: true,
},
+ columnField: {
+ class: 'expand',
+ },
},
{
align: 'left',
@@ -179,8 +188,8 @@ const columns = computed(() => [
label: t('customer.extendedList.tableVisibleColumns.created'),
name: 'created',
format: ({ created }) => toDate(created),
- component: 'date',
columnFilter: {
+ component: 'date',
alias: 'c',
inWhere: true,
},