refactor: refs #7553 modified ticketSummary QChips, deleted useless code
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
4a1f5e922c
commit
b4c46dc153
|
@ -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"
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue