refs #6795 popup item
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
b355d4aa0f
commit
c87f49b86e
|
@ -11,6 +11,8 @@ import CrudModel from 'components/CrudModel.vue';
|
|||
import FetchData from 'components/FetchData.vue';
|
||||
import VnDiscount from 'components/common/vnDiscount.vue';
|
||||
import ClaimLinesImport from './ClaimLinesImport.vue';
|
||||
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
|
||||
import item from 'src/router/modules/item';
|
||||
|
||||
const quasar = useQuasar();
|
||||
const route = useRoute();
|
||||
|
@ -229,7 +231,14 @@ function showImportDialog() {
|
|||
</QPopupEdit>
|
||||
</QTd>
|
||||
</template>
|
||||
|
||||
<template #body-cell-description="{ row, value }">
|
||||
<QTd auto-width align="right" class="text-primary">
|
||||
{{ value }}
|
||||
<ItemDescriptorProxy
|
||||
:id="row.sale.itemFk"
|
||||
></ItemDescriptorProxy>
|
||||
</QTd>
|
||||
</template>
|
||||
<template #body-cell-discount="{ row, value, rowIndex }">
|
||||
<QTd auto-width align="right" class="text-primary">
|
||||
{{ value }}
|
||||
|
|
|
@ -26,8 +26,9 @@ const STATE_COLOR = {
|
|||
function stateColor(code) {
|
||||
return STATE_COLOR[code];
|
||||
}
|
||||
function navigate(id) {
|
||||
router.push({ path: `/claim/${id}` });
|
||||
function navigate(event, id) {
|
||||
if (event.ctrlKey || event.metaKey) window.open(window.host);
|
||||
else router.push({ path: `/claim/${id}` });
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -74,7 +75,7 @@ function navigate(id) {
|
|||
:id="row.id"
|
||||
:key="row.id"
|
||||
:title="row.clientName"
|
||||
@click="navigate(row.id)"
|
||||
@click="navigate($event, row.id)"
|
||||
v-for="row of rows"
|
||||
>
|
||||
<template #list-items>
|
||||
|
|
Loading…
Reference in New Issue