This commit is contained in:
2021-01-19 21:47:30 +00:00
parent 40f86d1026
commit a5f7ba4933

View File

@@ -260,7 +260,7 @@ export default {
vm: vm,
loading: true
});
// let url = `part/serials/${vm.$route.params.recordid}`;
// let url = `part/serials/${vm.$route.params.recordid}`;
let url = `part/serials/${vm.$route.params.recordid}`;
//clear any errors vm might be around from previous submit
window.$gz.form.deleteAllErrorBoxErrors(vm);
@@ -271,6 +271,7 @@ export default {
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);
} else {
vm.obj = res.data; //updated list of serials from server
//PRETTY SURE DON"T NEED ANY OF THIS
// //Logic for detecting if a post or put: if id then it was a post, if no id then it was a put
// if (res.data.id) {