forked from verdnatura/salix-front
refs #6897 fix columns trad
This commit is contained in:
parent
e62e914e48
commit
41d6c3f07e
|
@ -414,7 +414,7 @@ entry:
|
||||||
warehouseOut: Warehouse Out
|
warehouseOut: Warehouse Out
|
||||||
latestBuys:
|
latestBuys:
|
||||||
tableVisibleColumns:
|
tableVisibleColumns:
|
||||||
picture: Picture
|
image: Picture
|
||||||
itemFk: Item ID
|
itemFk: Item ID
|
||||||
packing: Packing
|
packing: Packing
|
||||||
grouping: Grouping
|
grouping: Grouping
|
||||||
|
|
|
@ -413,7 +413,7 @@ entry:
|
||||||
warehouseOut: Alm. salida
|
warehouseOut: Alm. salida
|
||||||
latestBuys:
|
latestBuys:
|
||||||
tableVisibleColumns:
|
tableVisibleColumns:
|
||||||
picture: Foto
|
image: Foto
|
||||||
itemFk: Id Artículo
|
itemFk: Id Artículo
|
||||||
packing: packing
|
packing: packing
|
||||||
grouping: Grouping
|
grouping: Grouping
|
||||||
|
|
|
@ -16,7 +16,6 @@ import VnImg from 'src/components/ui/VnImg.vue';
|
||||||
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
||||||
const rowsFetchDataRef = ref(null);
|
const rowsFetchDataRef = ref(null);
|
||||||
const editTableCellDialogRef = ref(null);
|
const editTableCellDialogRef = ref(null);
|
||||||
const allColumnNames = ref([]);
|
|
||||||
|
|
||||||
const exprBuilder = (param, value) => {
|
const exprBuilder = (param, value) => {
|
||||||
switch (param) {
|
switch (param) {
|
||||||
|
@ -67,16 +66,9 @@ const store = arrayData.store;
|
||||||
const rows = computed(() => store.data);
|
const rows = computed(() => store.data);
|
||||||
const rowsSelected = ref([]);
|
const rowsSelected = ref([]);
|
||||||
|
|
||||||
const getInputEvents = (col) => {
|
|
||||||
return col.columnFilter.type === 'select'
|
|
||||||
? { 'update:modelValue': () => applyColumnFilter(col) }
|
|
||||||
: {
|
|
||||||
'keyup.enter': () => applyColumnFilter(col),
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
|
align: 'center',
|
||||||
label: t('entry.latestBuys.tableVisibleColumns.image'),
|
label: t('entry.latestBuys.tableVisibleColumns.image'),
|
||||||
name: 'image',
|
name: 'image',
|
||||||
columnField: {
|
columnField: {
|
||||||
|
|
Loading…
Reference in New Issue