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 { toDate } from 'src/filters/index';
|
||||
import { useQuasar } from 'quasar';
|
||||
// import EntryBuysTableDialog from './EntryBuysTableDialog.vue';
|
||||
import EntryBuysTableDialog from './EntryBuysTableDialog.vue';
|
||||
import VnTable from 'components/VnTable/VnTable.vue';
|
||||
import VnInput from 'src/components/common/VnInput.vue';
|
||||
|
||||
|
@ -21,25 +21,21 @@ const columns = computed(() => [
|
|||
// isId: true,
|
||||
// isTitle: false,
|
||||
// },
|
||||
// {
|
||||
// align: 'left',
|
||||
// label: t('shipped'),
|
||||
// name: 'shipped',
|
||||
// isTitle: false,
|
||||
// create: true,
|
||||
// cardVisible: true,
|
||||
// component: 'date',
|
||||
// columnField: {
|
||||
// component: null,
|
||||
// },
|
||||
// format: ({ shipped }) => toDate(shipped),
|
||||
// },
|
||||
{
|
||||
align: 'left',
|
||||
label: t('shipped'),
|
||||
name: 'shipped',
|
||||
cardVisible: true,
|
||||
component: 'date',
|
||||
columnField: {
|
||||
component: null,
|
||||
},
|
||||
format: ({ shipped }) => toDate(shipped),
|
||||
},
|
||||
{
|
||||
align: 'left',
|
||||
label: t('landed'),
|
||||
name: 'landed',
|
||||
isTitle: false,
|
||||
create: true,
|
||||
cardVisible: false,
|
||||
component: 'date',
|
||||
columnField: {
|
||||
|
@ -51,31 +47,29 @@ const columns = computed(() => [
|
|||
align: 'left',
|
||||
label: t('globals.wareHouseIn'),
|
||||
name: 'warehouseInName',
|
||||
isTitle: false,
|
||||
cardVisible: true,
|
||||
create: false,
|
||||
},
|
||||
// {
|
||||
// align: 'right',
|
||||
// name: 'tableActions',
|
||||
// actions: [
|
||||
// {
|
||||
// title: t('printBuys'),
|
||||
// icon: 'print',
|
||||
// // action: (row) => printBuys(row.id),
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
align: 'right',
|
||||
name: 'tableActions',
|
||||
actions: [
|
||||
{
|
||||
title: t('printBuys'),
|
||||
icon: 'print',
|
||||
action: (row) => printBuys(row.id),
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
||||
|
||||
// const printBuys = (rowId) => {
|
||||
// quasar.dialog({
|
||||
// component: EntryBuysTableDialog,
|
||||
// componentProps: {
|
||||
// id: rowId,
|
||||
// },
|
||||
// });
|
||||
// };
|
||||
const printBuys = (rowId) => {
|
||||
quasar.dialog({
|
||||
component: EntryBuysTableDialog,
|
||||
componentProps: {
|
||||
id: rowId,
|
||||
},
|
||||
});
|
||||
};
|
||||
</script>
|
||||
<template>
|
||||
<VnSearchbar
|
||||
|
|
Loading…
Reference in New Issue