This commit is contained in:
@@ -123,7 +123,8 @@ todo: server boot up message should show the port it's listening on if possible
|
|||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING: INVENTORY
|
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
|
Part - remove trackserialnumber everywhere, it's just not a thing anymore
|
||||||
PartSerial - see case 3845
|
PartSerial - see case 3845
|
||||||
do the object, it's very light, like a partassembly in nature
|
do the object, it's very light, like a partassembly in nature
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<th class="text-left">
|
<th class="text-left">
|
||||||
{{ $ay.t("PartList") }}
|
{{ $ay.t("PartList") }}
|
||||||
</th>
|
</th>
|
||||||
|
<th class="text-left">
|
||||||
|
{{ $ay.t("WorkOrderItemPartQuantity") }}
|
||||||
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -43,6 +46,12 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="item in sortedList" :key="item.partId">
|
<tr v-for="item in sortedList" :key="item.partId">
|
||||||
<td>{{ item.partDisplay }}</td>
|
<td>{{ item.partDisplay }}</td>
|
||||||
|
<td>
|
||||||
|
<gz-decimal
|
||||||
|
v-model="item.quantity"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
></gz-decimal>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<v-icon
|
<v-icon
|
||||||
:small="$vuetify.breakpoint.xsOnly"
|
:small="$vuetify.breakpoint.xsOnly"
|
||||||
@@ -301,7 +310,8 @@ 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
|
partDisplay: selected.name,
|
||||||
|
quantity: 1
|
||||||
});
|
});
|
||||||
|
|
||||||
vm.formState.dirty = true;
|
vm.formState.dirty = true;
|
||||||
@@ -693,6 +703,7 @@ async function fetchTranslatedText(vm) {
|
|||||||
"PartAssemblyNotes",
|
"PartAssemblyNotes",
|
||||||
"PartList",
|
"PartList",
|
||||||
"Part",
|
"Part",
|
||||||
|
"WorkOrderItemPartQuantity",
|
||||||
"PartAssemblyCustom1",
|
"PartAssemblyCustom1",
|
||||||
"PartAssemblyCustom2",
|
"PartAssemblyCustom2",
|
||||||
"PartAssemblyCustom3",
|
"PartAssemblyCustom3",
|
||||||
|
|||||||
Reference in New Issue
Block a user