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 FetchData from 'components/FetchData.vue';
|
||||||
import VnDiscount from 'components/common/vnDiscount.vue';
|
import VnDiscount from 'components/common/vnDiscount.vue';
|
||||||
import ClaimLinesImport from './ClaimLinesImport.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 quasar = useQuasar();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
@ -229,7 +231,14 @@ function showImportDialog() {
|
||||||
</QPopupEdit>
|
</QPopupEdit>
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</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 }">
|
<template #body-cell-discount="{ row, value, rowIndex }">
|
||||||
<QTd auto-width align="right" class="text-primary">
|
<QTd auto-width align="right" class="text-primary">
|
||||||
{{ value }}
|
{{ value }}
|
||||||
|
|
|
@ -26,8 +26,9 @@ const STATE_COLOR = {
|
||||||
function stateColor(code) {
|
function stateColor(code) {
|
||||||
return STATE_COLOR[code];
|
return STATE_COLOR[code];
|
||||||
}
|
}
|
||||||
function navigate(id) {
|
function navigate(event, id) {
|
||||||
router.push({ path: `/claim/${id}` });
|
if (event.ctrlKey || event.metaKey) window.open(window.host);
|
||||||
|
else router.push({ path: `/claim/${id}` });
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -74,7 +75,7 @@ function navigate(id) {
|
||||||
:id="row.id"
|
:id="row.id"
|
||||||
:key="row.id"
|
:key="row.id"
|
||||||
:title="row.clientName"
|
:title="row.clientName"
|
||||||
@click="navigate(row.id)"
|
@click="navigate($event, row.id)"
|
||||||
v-for="row of rows"
|
v-for="row of rows"
|
||||||
>
|
>
|
||||||
<template #list-items>
|
<template #list-items>
|
||||||
|
|
Loading…
Reference in New Issue