src/views/safetyReview/userManage/expertUsers/components/expertDialog.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/safetyReview/userManage/expertUsers/components/expertDialog.vue
@@ -458,14 +458,18 @@ } const onSubmit = async () => { let isCode = false; const valid = await superRef.value.validate(); if(valid){ state.form.majorShow.forEach(item => { if(item.certificateNo == ''){ if(item.certificateNo === undefined || item.certificateNo === ''){ isCode = true; } }) if(isCode){ ElMessage.warning('请输入对应的证书编号') return ; } }) if(state.title == '新增'){ const {confirmPassword,id,socialList,salaryList,medicalList,...data} = state.form data.password = Base64.encode(data.password)