团体报名-参赛队名称-提示
Showing
1 changed file
with
5 additions
and
1 deletions
| ... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
| 29 | <el-option v-for="item in countryList" :key="item.id" :label="item.noc||item.enName" :value="item.id"/> | 29 | <el-option v-for="item in countryList" :key="item.id" :label="item.noc||item.enName" :value="item.id"/> |
| 30 | </el-select> | 30 | </el-select> |
| 31 | </el-form-item> | 31 | </el-form-item> |
| 32 | <el-form-item v-if="form.type!='4'" :label="language==0?'参赛队名称':'Name of participating team'" required prop="abreviations"> | 32 | <el-form-item v-if="form.type!='4'" :label="language==0?'参赛队名称':'Name of participating team'" required> |
| 33 | <el-input type="text" v-model="form.abreviations" :placeholder="language==0?'请输入内容':''"/> | 33 | <el-input type="text" v-model="form.abreviations" :placeholder="language==0?'请输入内容':''"/> |
| 34 | </el-form-item> | 34 | </el-form-item> |
| 35 | <!-- <el-form-item v-if="form.type!='4'" :label="language==0?'团体名称':'Team Name'" prop="name" required>--> | 35 | <!-- <el-form-item v-if="form.type!='4'" :label="language==0?'团体名称':'Team Name'" prop="name" required>--> |
| ... | @@ -270,6 +270,10 @@ function goPrev() { | ... | @@ -270,6 +270,10 @@ function goPrev() { |
| 270 | function submitForm() { | 270 | function submitForm() { |
| 271 | proxy.$refs['ruleFormRef'].validate((valid, fields) => { | 271 | proxy.$refs['ruleFormRef'].validate((valid, fields) => { |
| 272 | if (valid) { | 272 | if (valid) { |
| 273 | if(form.value.type!='4'&&(form.value.abreviations=='')){ | ||
| 274 | ElMessage.warning(language.value==0?`请输入参赛队名称`:`Please complete Name of participating team`) | ||
| 275 | return | ||
| 276 | } | ||
| 273 | console.log(form.value) | 277 | console.log(form.value) |
| 274 | for (const n of participantsInfoArr.value) { | 278 | for (const n of participantsInfoArr.value) { |
| 275 | if (n.status == 0 && (!n.value && (!n.fixWxFile||n.fixWxFile.length==0))) { | 279 | if (n.status == 0 && (!n.value && (!n.fixWxFile||n.fixWxFile.length==0))) { | ... | ... |
-
Please register or sign in to post a comment