This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user