This commit is contained in:
@@ -517,6 +517,21 @@ export default {
|
||||
].isDirty = true;
|
||||
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
||||
}
|
||||
|
||||
//reset part request if part, qty or warehouse is changed
|
||||
if (
|
||||
this.value.items[this.activeWoItemIndex].parts[this.activeItemIndex]
|
||||
.requestAmountViz != null
|
||||
) {
|
||||
if (
|
||||
ref.endsWith("partWarehouseId") ||
|
||||
ref.endsWith("partId") ||
|
||||
ref.endsWith("quantity")
|
||||
)
|
||||
this.value.items[this.activeWoItemIndex].parts[
|
||||
this.activeItemIndex
|
||||
].requestAmountViz = null;
|
||||
}
|
||||
},
|
||||
itemRowClasses: function(item) {
|
||||
let ret = "";
|
||||
|
||||
Reference in New Issue
Block a user