case 1690

This commit is contained in:
2021-11-24 23:47:58 +00:00
parent ae1c92b2df
commit 870877fab0

View File

@@ -409,9 +409,13 @@ export default {
vm.unitObj
);
if (res.error) {
window.$gz.errorHandler.handleFormError(res.error); //no vm passed here so that it displays as a dialog rather than in the form
//no vm passed here so that it displays as a dialog rather than in the form
window.$gz.errorHandler.handleFormError(res.error);
} else {
if (res.data.id) {
if (res.data) {
if (vm.obj.unitId == null) {
vm.obj.unitId = res.data;
}
//SUCCESS
this.addUnitDialog = false;
}