|
|
|
@ -306,6 +306,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.$refs.UploadImagePdf.beginCheck()
|
|
|
|
|
}).catch((err) => {
|
|
|
|
|
if (err && err.length > 0){
|
|
|
|
|
this.$fm('您还有数据未填写')
|
|
|
|
|
}
|
|
|
|
|
if (err && err.length > 0 && err[0].name) {
|
|
|
|
|
const fieldElement = this.$refs.form.$el.querySelector(`[name="${err[0].name}"]`);
|
|
|
|
|
const fieldHeight = fieldElement.offsetHeight;
|
|
|
|
@ -459,6 +462,9 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
}).catch((err) => {
|
|
|
|
|
this.$loading(false, 'form')
|
|
|
|
|
if (err && err.length > 0){
|
|
|
|
|
this.$fm('您还有数据未填写')
|
|
|
|
|
}
|
|
|
|
|
if (err && err.length > 0 && err[0].name) {
|
|
|
|
|
const fieldElement = this.$refs.form.$el.querySelector(`[name="${err[0].name}"]`);
|
|
|
|
|
const fieldHeight = fieldElement.offsetHeight;
|
|
|
|
|