refactor: refs #7553 modified ticketSummary QChips, deleted useless code
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2024-09-12 13:13:56 +02:00
parent 4a1f5e922c
commit b4c46dc153
3 changed files with 9 additions and 5 deletions

View File

@ -77,8 +77,6 @@ function handleDelete(row) {
v-model="row.description"
class="col"
/>
{{ index }},
{{ row }}
<QIcon
name="delete"
size="sm"

View File

@ -428,25 +428,31 @@ function toTicketUrl(section) {
</QTd>
<QTd>
<QChip
v-if="props.row.visible < 0"
dense
rounded
v-if="props.row.visible < 0"
:color="'negative'"
text-color="white"
>
{{ props.row.visible }}
</QChip>
<span v-else>
{{ props.row.visible }}
</span>
</QTd>
<QTd>
<QChip
v-if="props.row.available < 0"
dense
rounded
v-if="props.row.available < 0"
:color="'negative'"
text-color="white"
>
{{ props.row.available }}
</QChip>
<span v-else>
{{ props.row.available }}
</span>
</QTd>
<QTd>{{ props.row.quantity }}</QTd>
<QTd class="description-cell">

View File

@ -93,7 +93,7 @@ const applyVolumes = async (salesData) => {
}
};
onMounted(() => (stateStore.rightDrawer = false));
onMounted(() => (stateStore.rightDrawer = true));
onUnmounted(() => (stateStore.rightDrawer = false));
</script>