feat: refs #6802 add dash placeholder for empty department names in InvoiceOut list
This commit is contained in:
parent
345e9532e6
commit
7a8dfab682
|
@ -8,7 +8,7 @@ import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
||||||
import { usePrintService } from 'src/composables/usePrintService';
|
import { usePrintService } from 'src/composables/usePrintService';
|
||||||
import VnTable from 'src/components/VnTable/VnTable.vue';
|
import VnTable from 'src/components/VnTable/VnTable.vue';
|
||||||
import InvoiceOutSummary from './Card/InvoiceOutSummary.vue';
|
import InvoiceOutSummary from './Card/InvoiceOutSummary.vue';
|
||||||
import { toCurrency, toDate } from 'src/filters/index';
|
import { toCurrency, toDate, dashIfEmpty } from 'src/filters/index';
|
||||||
import { QBtn } from 'quasar';
|
import { QBtn } from 'quasar';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import InvoiceOutFilter from './InvoiceOutFilter.vue';
|
import InvoiceOutFilter from './InvoiceOutFilter.vue';
|
||||||
|
@ -246,12 +246,8 @@ watchEffect(selectedRows);
|
||||||
</template>
|
</template>
|
||||||
<template #column-departmentFk="{ row }">
|
<template #column-departmentFk="{ row }">
|
||||||
<span class="link" @click.stop>
|
<span class="link" @click.stop>
|
||||||
{{ row.departmentName || '-' }}
|
{{ dashIfEmpty(row.departmentName) }}
|
||||||
<<<<<<< HEAD
|
|
||||||
<DepartmentDescriptorProxy :id="row.departmentFk" />
|
|
||||||
=======
|
|
||||||
<DepartmentDescriptorProxy :id="row?.departmentFk" />
|
<DepartmentDescriptorProxy :id="row?.departmentFk" />
|
||||||
>>>>>>> dev
|
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #more-create-dialog="{ data }">
|
<template #more-create-dialog="{ data }">
|
||||||
|
|
Loading…
Reference in New Issue