@@ -521,7 +521,7 @@ import { Util } from '@/ibiz-core/utils';
...
@@ -521,7 +521,7 @@ import { Util } from '@/ibiz-core/utils';
resolve(true);
resolve(true);
}).catch(({ errors, fields }) => {
}).catch(({ errors, fields }) => {
const {field , message } = errors[0];
const {field , message } = errors[0];
let _message :any = (this.$t(`project.mobnewform_form.details.<#noparse>${field}</#noparse>`) as string) +' '+ this.$t(`app.form.rules.<#noparse>${message}</#noparse>`);
let _message :any = (this.$t(`${ctrl.getPSAppDataEntity().getCodeName()?lower_case}.${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}.details.<#noparse>${field}</#noparse>`) as string) +' '+ this.$t(`app.form.rules.<#noparse>${message}</#noparse>`);