This commit is contained in:
@@ -260,7 +260,7 @@ export default {
|
|||||||
vm: vm,
|
vm: vm,
|
||||||
loading: true
|
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}`;
|
let url = `part/serials/${vm.$route.params.recordid}`;
|
||||||
//clear any errors vm might be around from previous submit
|
//clear any errors vm might be around from previous submit
|
||||||
window.$gz.form.deleteAllErrorBoxErrors(vm);
|
window.$gz.form.deleteAllErrorBoxErrors(vm);
|
||||||
@@ -271,6 +271,7 @@ export default {
|
|||||||
vm.formState.serverError = res.error;
|
vm.formState.serverError = res.error;
|
||||||
window.$gz.form.setErrorBoxErrors(vm);
|
window.$gz.form.setErrorBoxErrors(vm);
|
||||||
} else {
|
} else {
|
||||||
|
vm.obj = res.data; //updated list of serials from server
|
||||||
//PRETTY SURE DON"T NEED ANY OF THIS
|
//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
|
// //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) {
|
// if (res.data.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user