This commit is contained in:
2021-03-02 17:15:24 +00:00
parent 55bf044ead
commit 3aca2dfe7f

View File

@@ -49,7 +49,7 @@
:key="item.partId.toString() + item.quantity.toString()"
>
<td>
{{ item.partDisplay }}
{{ item.partViz }}
<template v-if="$vuetify.breakpoint.xs">
<div class="my-3">
<v-icon class="ml-2" @click="openItem(item)">
@@ -295,8 +295,8 @@ export default {
methods: {
sortedList: function() {
function compare(a, b) {
if (a.partDisplay < b.partDisplay) return -1;
if (a.partDisplay > b.partDisplay) return 1;
if (a.partViz < b.partViz) return -1;
if (a.partViz > b.partViz) return 1;
return 0;
}
@@ -317,7 +317,7 @@ export default {
vm.obj.items.push({
partAssemblyId: vm.obj.id,
partId: selected.id,
partDisplay: selected.name,
partViz: selected.name,
quantity: 1
});