This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
:form-key="formCustomTemplateKey"
|
||||
:readonly="formState.readOnly"
|
||||
:parent-v-m="this"
|
||||
key-start-with="Items.WorkOrderItemUnitCustom"
|
||||
key-start-with="WorkOrderItemUnitCustom"
|
||||
:ref="
|
||||
`Items[${activeWoItemIndex}].units[
|
||||
${activeItemIndex}
|
||||
@@ -300,15 +300,10 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
userChange(newName) {
|
||||
unitChange(newName) {
|
||||
this.value.items[this.activeWoItemIndex].units[
|
||||
this.activeItemIndex
|
||||
].userViz = newName;
|
||||
},
|
||||
rateChange(newName) {
|
||||
this.value.items[this.activeWoItemIndex].units[
|
||||
this.activeItemIndex
|
||||
].serviceRateViz = newName;
|
||||
].unitViz = newName;
|
||||
},
|
||||
newItem() {
|
||||
let newIndex = this.value.items[this.activeWoItemIndex].units.length;
|
||||
@@ -420,7 +415,7 @@ export default {
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemUnit")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemUnit"),
|
||||
text: this.$ay.t("Unit"),
|
||||
align: "left",
|
||||
value: "unitViz"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user