This commit is contained in:
2021-01-18 20:12:41 +00:00
parent 19d97f629f
commit 731a503fb4
2 changed files with 14 additions and 2 deletions

View File

@@ -123,7 +123,8 @@ todo: server boot up message should show the port it's listening on if possible
CURRENTLY DOING: INVENTORY
PartAssembly - shouldn't this have a quantity for each part and default to 1?
Yes, definitely, always default to 1 to save entry as well
Part - remove trackserialnumber everywhere, it's just not a thing anymore
PartSerial - see case 3845
do the object, it's very light, like a partassembly in nature

View File

@@ -36,6 +36,9 @@
<th class="text-left">
{{ $ay.t("PartList") }}
</th>
<th class="text-left">
{{ $ay.t("WorkOrderItemPartQuantity") }}
</th>
<th></th>
<th></th>
</tr>
@@ -43,6 +46,12 @@
<tbody>
<tr v-for="item in sortedList" :key="item.partId">
<td>{{ item.partDisplay }}</td>
<td>
<gz-decimal
v-model="item.quantity"
:readonly="formState.readOnly"
></gz-decimal>
</td>
<td>
<v-icon
:small="$vuetify.breakpoint.xsOnly"
@@ -301,7 +310,8 @@ export default {
vm.obj.items.push({
partAssemblyId: vm.obj.id,
partId: selected.id,
partDisplay: selected.name
partDisplay: selected.name,
quantity: 1
});
vm.formState.dirty = true;
@@ -693,6 +703,7 @@ async function fetchTranslatedText(vm) {
"PartAssemblyNotes",
"PartList",
"Part",
"WorkOrderItemPartQuantity",
"PartAssemblyCustom1",
"PartAssemblyCustom2",
"PartAssemblyCustom3",