hotFix: try to fix myEntries
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f88ec2a2ae
commit
c904f7f88b
|
@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n';
|
||||||
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
|
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
|
||||||
import { toDate } from 'src/filters/index';
|
import { toDate } from 'src/filters/index';
|
||||||
import { useQuasar } from 'quasar';
|
import { useQuasar } from 'quasar';
|
||||||
// import EntryBuysTableDialog from './EntryBuysTableDialog.vue';
|
import EntryBuysTableDialog from './EntryBuysTableDialog.vue';
|
||||||
import VnTable from 'components/VnTable/VnTable.vue';
|
import VnTable from 'components/VnTable/VnTable.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
|
|
||||||
|
@ -21,25 +21,21 @@ const columns = computed(() => [
|
||||||
// isId: true,
|
// isId: true,
|
||||||
// isTitle: false,
|
// isTitle: false,
|
||||||
// },
|
// },
|
||||||
// {
|
{
|
||||||
// align: 'left',
|
align: 'left',
|
||||||
// label: t('shipped'),
|
label: t('shipped'),
|
||||||
// name: 'shipped',
|
name: 'shipped',
|
||||||
// isTitle: false,
|
cardVisible: true,
|
||||||
// create: true,
|
component: 'date',
|
||||||
// cardVisible: true,
|
columnField: {
|
||||||
// component: 'date',
|
component: null,
|
||||||
// columnField: {
|
},
|
||||||
// component: null,
|
format: ({ shipped }) => toDate(shipped),
|
||||||
// },
|
},
|
||||||
// format: ({ shipped }) => toDate(shipped),
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('landed'),
|
label: t('landed'),
|
||||||
name: 'landed',
|
name: 'landed',
|
||||||
isTitle: false,
|
|
||||||
create: true,
|
|
||||||
cardVisible: false,
|
cardVisible: false,
|
||||||
component: 'date',
|
component: 'date',
|
||||||
columnField: {
|
columnField: {
|
||||||
|
@ -51,31 +47,29 @@ const columns = computed(() => [
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('globals.wareHouseIn'),
|
label: t('globals.wareHouseIn'),
|
||||||
name: 'warehouseInName',
|
name: 'warehouseInName',
|
||||||
isTitle: false,
|
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
create: false,
|
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// align: 'right',
|
align: 'right',
|
||||||
// name: 'tableActions',
|
name: 'tableActions',
|
||||||
// actions: [
|
actions: [
|
||||||
// {
|
{
|
||||||
// title: t('printBuys'),
|
title: t('printBuys'),
|
||||||
// icon: 'print',
|
icon: 'print',
|
||||||
// // action: (row) => printBuys(row.id),
|
action: (row) => printBuys(row.id),
|
||||||
// },
|
},
|
||||||
// ],
|
],
|
||||||
// },
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// const printBuys = (rowId) => {
|
const printBuys = (rowId) => {
|
||||||
// quasar.dialog({
|
quasar.dialog({
|
||||||
// component: EntryBuysTableDialog,
|
component: EntryBuysTableDialog,
|
||||||
// componentProps: {
|
componentProps: {
|
||||||
// id: rowId,
|
id: rowId,
|
||||||
// },
|
},
|
||||||
// });
|
});
|
||||||
// };
|
};
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<VnSearchbar
|
<VnSearchbar
|
||||||
|
|
Loading…
Reference in New Issue