This commit is contained in:
2021-04-19 14:31:24 +00:00
parent e8de1f5409
commit 3ac2fff6d0
4 changed files with 25 additions and 13 deletions

View File

@@ -142,6 +142,8 @@ todo: Error at the devops server just looking at gold contract:
What up with this and can it be blocked from logging / something simpler logged instead?
I don't think it's happening at the linux server, it seems to be a comm issue from my ws??
bittorrent interferes with it like it does with my browsing, maybe not the cause though, just a data point
2021-03-17 05:19:27.0750|ERROR|JobsBiz|Server::ProcessJobsAsync unexpected error during processing=>System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
---> System.TimeoutException: The operation was canceled.
---> System.OperationCanceledException: The operation was canceled.
@@ -236,14 +238,12 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING: need to test save / delete and error handling on delete (in particular, already tested save), then can proceed
CURRENTLY DOING:
OVERALL
- test partial save (### and delete ###) with fail at each level (make up a fail if have to at server)
- Double check full delete still works
- make a new wo from scratch and test thoroughly
- double check mobile format view is still ok with errors and all
- Error messages should display correctly both in alert box and in each item's controls
- Decide on and implement "MARKED FOR DELETE" text that shows in sub items, it's just scaffolded in right now

View File

@@ -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 ";
}
};

View File

@@ -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;
}

View File

@@ -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;
}