diff --git a/src/views/freightVehicles/filingAudit/components/sendUtil.vue b/src/views/freightVehicles/filingAudit/components/sendUtil.vue index 52e896c..5c11f13 100644 --- a/src/views/freightVehicles/filingAudit/components/sendUtil.vue +++ b/src/views/freightVehicles/filingAudit/components/sendUtil.vue @@ -113,6 +113,8 @@ export default { this.loading = true this.visible = true this.FILING_APPLICATION_ID = e.FILING_APPLICATION_ID + this.form.STATUS = '' + this.form.OPINION = '' this.loading = false }, beforeClose() { @@ -136,19 +138,23 @@ export default { this.$parent.activeName = 'List' }, sendMessage() { - requestFN( - '/mkmjManagement/filingAudit', - { - AUDITOR: JSON.parse(sessionStorage.getItem('user')).USER_ID, - FILING_APPLICATION_ID: this.FILING_APPLICATION_ID, - IS_AUDIT: this.form.STATUS, - REMARK: this.form.OPINION + this.$refs.form.validate(valid => { + if (valid) { + requestFN( + '/mkmjManagement/filingAudit', + { + AUDITOR: JSON.parse(sessionStorage.getItem('user')).USER_ID, + FILING_APPLICATION_ID: this.FILING_APPLICATION_ID, + IS_AUDIT: this.form.STATUS, + REMARK: this.form.OPINION + } + ).then((data) => { + this.visible = false + this.$emit('refresh', '') + }).catch((e) => { + this.loading = false + }) } - ).then((data) => { - this.visible = false - this.$emit('refresh', '') - }).catch((e) => { - this.loading = false }) }, handleStatusChange(){ diff --git a/src/views/freightVehicles/publicAuidt/components/list.vue b/src/views/freightVehicles/publicAuidt/components/list.vue index 95f66f1..20bccee 100644 --- a/src/views/freightVehicles/publicAuidt/components/list.vue +++ b/src/views/freightVehicles/publicAuidt/components/list.vue @@ -48,6 +48,7 @@ +