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" v-model="row.description"
class="col" class="col"
/> />
{{ index }},
{{ row }}
<QIcon <QIcon
name="delete" name="delete"
size="sm" size="sm"

View File

@ -428,25 +428,31 @@ function toTicketUrl(section) {
</QTd> </QTd>
<QTd> <QTd>
<QChip <QChip
v-if="props.row.visible < 0"
dense dense
rounded rounded
v-if="props.row.visible < 0"
:color="'negative'" :color="'negative'"
text-color="white" text-color="white"
> >
{{ props.row.visible }} {{ props.row.visible }}
</QChip> </QChip>
<span v-else>
{{ props.row.visible }}
</span>
</QTd> </QTd>
<QTd> <QTd>
<QChip <QChip
v-if="props.row.available < 0"
dense dense
rounded rounded
v-if="props.row.available < 0"
:color="'negative'" :color="'negative'"
text-color="white" text-color="white"
> >
{{ props.row.available }} {{ props.row.available }}
</QChip> </QChip>
<span v-else>
{{ props.row.available }}
</span>
</QTd> </QTd>
<QTd>{{ props.row.quantity }}</QTd> <QTd>{{ props.row.quantity }}</QTd>
<QTd class="description-cell"> <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)); onUnmounted(() => (stateStore.rightDrawer = false));
</script> </script>