diff --git a/src/views/train/synInfo/components/sendUtil.vue b/src/views/train/synInfo/components/sendUtil.vue index 440bbb8..d707173 100644 --- a/src/views/train/synInfo/components/sendUtil.vue +++ b/src/views/train/synInfo/components/sendUtil.vue @@ -122,6 +122,9 @@ export default { ], APPOINT_CORP_ID: [ { required: true, message: '请选择企业', trigger: 'change' } + ], + APPOINT_ANNEX: [ + { required: true, message: '请上传文件', trigger: 'change' } ] } } @@ -190,7 +193,6 @@ export default { Object.keys(this.form).map(key => { formData.append(key, this.form[key]) }) - formData.append('chenNuoShu', this.form.APPOINT_ANNEX[0].raw) upload('/trainingbatch/sendMessage', formData ).then((data) => { if (data.code !== '0') {