This commit is contained in:
@@ -310,13 +310,8 @@ export default {
|
||||
this.$emit("change");
|
||||
this.selectedRow = [{ index: newIndex }];
|
||||
this.activeItemIndex = newIndex;
|
||||
//trigger rule breaking / validation
|
||||
this.$nextTick(() => {
|
||||
// console.log(
|
||||
// "CONTROL:",
|
||||
// this.$refs[
|
||||
// `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId`
|
||||
// ]
|
||||
// );
|
||||
this.value.items[this.activeWoItemIndex].units[
|
||||
this.activeItemIndex
|
||||
].unitId = null;
|
||||
@@ -324,28 +319,6 @@ export default {
|
||||
`Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId`
|
||||
);
|
||||
});
|
||||
|
||||
//
|
||||
//trigger rule breaking / validation
|
||||
// this.value.items[this.activeWoItemIndex].units[
|
||||
// this.activeItemIndex
|
||||
// ].unitId = 0;
|
||||
// this.fieldValueChanged(
|
||||
// `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId`
|
||||
// );
|
||||
// this.value.items[this.activeWoItemIndex].units[
|
||||
// this.activeItemIndex
|
||||
// ].unitId = null;
|
||||
// this.fieldValueChanged(
|
||||
// `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId`
|
||||
// );
|
||||
// this.fieldValueChanged(
|
||||
// `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId`
|
||||
// );
|
||||
// this.fieldValueChanged(
|
||||
// `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].notes`
|
||||
// );
|
||||
// });
|
||||
},
|
||||
unDeleteItem() {
|
||||
this.value.items[this.activeWoItemIndex].units[
|
||||
|
||||
Reference in New Issue
Block a user