This commit is contained in:
@@ -1029,5 +1029,17 @@ export default {
|
||||
setTimeout(function() {
|
||||
vm.$router.go(-1);
|
||||
}, 2000);
|
||||
},
|
||||
////////////////////////////////////////
|
||||
// Standard data table row error class
|
||||
//
|
||||
tableRowErrorClass() {
|
||||
return "font-weight-black font-italic error--text ";
|
||||
},
|
||||
////////////////////////////////////////
|
||||
// Standard data table deleted class
|
||||
//
|
||||
tableRowDeletedClass() {
|
||||
return "text-decoration-line-through ";
|
||||
}
|
||||
};
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
value.items[activeWoItemIndex].scheduledUsers[activeItemIndex]
|
||||
.estimatedQuantity
|
||||
"
|
||||
:readonly="formState.readOnly"
|
||||
:readonly="formState.readOnly || isDeleted"
|
||||
:disabled="isDeleted"
|
||||
:label="$ay.t('WorkOrderItemScheduledUserEstimatedQuantity')"
|
||||
ref="scheduledUsers.EstimatedQuantity"
|
||||
@@ -197,11 +197,11 @@ export default {
|
||||
`Items[${this.activeWoItemIndex}].ScheduledUsers[${item.index}].`
|
||||
);
|
||||
|
||||
if (hasError) {
|
||||
ret = "font-weight-black font-italic error--text ";
|
||||
}
|
||||
if (isDeleted) {
|
||||
ret += "text-decoration-line-through text--disabled";
|
||||
ret += this.form().tableRowDeletedClass();
|
||||
}
|
||||
if (hasError) {
|
||||
ret += this.form().tableRowErrorClass();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -237,11 +237,11 @@ export default {
|
||||
`Items[${item.index}].`
|
||||
);
|
||||
|
||||
if (hasError) {
|
||||
ret = "font-weight-black font-italic error--text ";
|
||||
}
|
||||
if (isDeleted) {
|
||||
ret += "text-decoration-line-through text--disabled";
|
||||
ret += this.form().tableRowDeletedClass();
|
||||
}
|
||||
if (hasError) {
|
||||
ret += this.form().tableRowErrorClass();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user