This commit is contained in:
@@ -967,7 +967,7 @@ export default {
|
|||||||
pmItemId: this.value.items[this.activeWoItemIndex].id,
|
pmItemId: this.value.items[this.activeWoItemIndex].id,
|
||||||
uid: Date.now(),
|
uid: Date.now(),
|
||||||
partWarehouseViz: null,
|
partWarehouseViz: null,
|
||||||
partViz: z.partViz,
|
partNameViz: z.partNameViz,
|
||||||
taxCodeViz: null
|
taxCodeViz: null
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -1015,7 +1015,7 @@ export default {
|
|||||||
partId: this.value.items[this.activeWoItemIndex].parts[
|
partId: this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partId,
|
].partId,
|
||||||
partViz: selectedPart,
|
partNameViz: selectedPart,
|
||||||
partWarehouseId: this.value.items[this.activeWoItemIndex].parts[
|
partWarehouseId: this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partWarehouseId,
|
].partWarehouseId,
|
||||||
@@ -1048,7 +1048,7 @@ export default {
|
|||||||
partChange(newName) {
|
partChange(newName) {
|
||||||
this.value.items[this.activeWoItemIndex].parts[
|
this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partViz = newName;
|
].partNameViz = newName;
|
||||||
},
|
},
|
||||||
taxCodeChange(newName) {
|
taxCodeChange(newName) {
|
||||||
this.value.items[this.activeWoItemIndex].parts[
|
this.value.items[this.activeWoItemIndex].parts[
|
||||||
@@ -1078,7 +1078,7 @@ export default {
|
|||||||
pmItemId: this.value.items[this.activeWoItemIndex].id,
|
pmItemId: this.value.items[this.activeWoItemIndex].id,
|
||||||
uid: Date.now(),
|
uid: Date.now(),
|
||||||
partWarehouseViz: null,
|
partWarehouseViz: null,
|
||||||
partViz: null,
|
partNameViz: null,
|
||||||
taxCodeViz: null
|
taxCodeViz: null
|
||||||
});
|
});
|
||||||
this.$emit("change");
|
this.$emit("change");
|
||||||
|
|||||||
@@ -886,7 +886,7 @@ export default {
|
|||||||
quoteItemId: this.value.items[this.activeWoItemIndex].id,
|
quoteItemId: this.value.items[this.activeWoItemIndex].id,
|
||||||
uid: Date.now(),
|
uid: Date.now(),
|
||||||
partWarehouseViz: null,
|
partWarehouseViz: null,
|
||||||
partViz: z.partViz,
|
partNameViz: z.partNameViz,
|
||||||
taxCodeViz: null
|
taxCodeViz: null
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -934,7 +934,7 @@ export default {
|
|||||||
partId: this.value.items[this.activeWoItemIndex].parts[
|
partId: this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partId,
|
].partId,
|
||||||
partViz: selectedPart,
|
partNameViz: selectedPart,
|
||||||
partWarehouseId: this.value.items[this.activeWoItemIndex].parts[
|
partWarehouseId: this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partWarehouseId,
|
].partWarehouseId,
|
||||||
@@ -967,7 +967,7 @@ export default {
|
|||||||
partChange(newName) {
|
partChange(newName) {
|
||||||
this.value.items[this.activeWoItemIndex].parts[
|
this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partViz = newName;
|
].partNameViz = newName;
|
||||||
},
|
},
|
||||||
taxCodeChange(newName) {
|
taxCodeChange(newName) {
|
||||||
this.value.items[this.activeWoItemIndex].parts[
|
this.value.items[this.activeWoItemIndex].parts[
|
||||||
@@ -996,7 +996,7 @@ export default {
|
|||||||
quoteItemId: this.value.items[this.activeWoItemIndex].id,
|
quoteItemId: this.value.items[this.activeWoItemIndex].id,
|
||||||
uid: Date.now(),
|
uid: Date.now(),
|
||||||
partWarehouseViz: null,
|
partWarehouseViz: null,
|
||||||
partViz: null,
|
partNameViz: null,
|
||||||
taxCodeViz: null
|
taxCodeViz: null
|
||||||
});
|
});
|
||||||
this.$emit("change");
|
this.$emit("change");
|
||||||
|
|||||||
@@ -847,6 +847,8 @@ export default {
|
|||||||
this.activeItemIndex != null &&
|
this.activeItemIndex != null &&
|
||||||
this.hasData &&
|
this.hasData &&
|
||||||
this.canAdd &&
|
this.canAdd &&
|
||||||
|
this.value.items[this.activeWoItemIndex].parts[this.activeItemIndex] !=
|
||||||
|
null &&
|
||||||
this.value.items[this.activeWoItemIndex].parts[this.activeItemIndex]
|
this.value.items[this.activeWoItemIndex].parts[this.activeItemIndex]
|
||||||
.suggestedQuantity > 0
|
.suggestedQuantity > 0
|
||||||
);
|
);
|
||||||
@@ -989,7 +991,7 @@ export default {
|
|||||||
workOrderItemId: this.value.items[this.activeWoItemIndex].id,
|
workOrderItemId: this.value.items[this.activeWoItemIndex].id,
|
||||||
uid: Date.now(),
|
uid: Date.now(),
|
||||||
partWarehouseViz: null,
|
partWarehouseViz: null,
|
||||||
partViz: z.partViz,
|
partNameViz: z.partNameViz,
|
||||||
taxCodeViz: null
|
taxCodeViz: null
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -1037,7 +1039,7 @@ export default {
|
|||||||
partId: this.value.items[this.activeWoItemIndex].parts[
|
partId: this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partId,
|
].partId,
|
||||||
partViz: selectedPart,
|
partNameViz: selectedPart,
|
||||||
partWarehouseId: this.value.items[this.activeWoItemIndex].parts[
|
partWarehouseId: this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partWarehouseId,
|
].partWarehouseId,
|
||||||
@@ -1069,7 +1071,7 @@ export default {
|
|||||||
partChange(newName) {
|
partChange(newName) {
|
||||||
this.value.items[this.activeWoItemIndex].parts[
|
this.value.items[this.activeWoItemIndex].parts[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].partViz = newName;
|
].partNameViz = newName;
|
||||||
},
|
},
|
||||||
taxCodeChange(newName) {
|
taxCodeChange(newName) {
|
||||||
this.value.items[this.activeWoItemIndex].parts[
|
this.value.items[this.activeWoItemIndex].parts[
|
||||||
@@ -1098,7 +1100,7 @@ export default {
|
|||||||
workOrderItemId: this.value.items[this.activeWoItemIndex].id,
|
workOrderItemId: this.value.items[this.activeWoItemIndex].id,
|
||||||
uid: Date.now(),
|
uid: Date.now(),
|
||||||
partWarehouseViz: null,
|
partWarehouseViz: null,
|
||||||
partViz: null,
|
partNameViz: null,
|
||||||
taxCodeViz: null
|
taxCodeViz: null
|
||||||
});
|
});
|
||||||
this.$emit("change");
|
this.$emit("change");
|
||||||
|
|||||||
Reference in New Issue
Block a user