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