Merge branch 'dev' into order
Showing
3 changed files
with
8 additions
and
4 deletions
| ... | @@ -313,7 +313,7 @@ function checkCard() { | ... | @@ -313,7 +313,7 @@ function checkCard() { |
| 313 | form.value.representing = res.data.representing | 313 | form.value.representing = res.data.representing |
| 314 | form.value.ageGroup = res.data.ageGroup | 314 | form.value.ageGroup = res.data.ageGroup |
| 315 | form.value.division = res.data.division | 315 | form.value.division = res.data.division |
| 316 | form.value.status = res.data.status | 316 | form.value.wdsfStatus = res.data.status |
| 317 | if (!form.value.sex) { | 317 | if (!form.value.sex) { |
| 318 | form.value.sex = '0' | 318 | form.value.sex = '0' |
| 319 | } | 319 | } |
| ... | @@ -346,7 +346,7 @@ function checkCode() { | ... | @@ -346,7 +346,7 @@ function checkCode() { |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | function changeCountry() { | 348 | function changeCountry() { |
| 349 | if( form.value.countryId = 240 ){ | 349 | if( form.value.countryId == 240 ){ |
| 350 | form.value.idcType = '0' | 350 | form.value.idcType = '0' |
| 351 | } | 351 | } |
| 352 | } | 352 | } | ... | ... |
| ... | @@ -305,7 +305,7 @@ function codeSuccess(msg) { | ... | @@ -305,7 +305,7 @@ function codeSuccess(msg) { |
| 305 | form.value = res.data | 305 | form.value = res.data |
| 306 | form.value.xing = form.value.surname | 306 | form.value.xing = form.value.surname |
| 307 | form.value.ming = form.value.name | 307 | form.value.ming = form.value.name |
| 308 | form.value.wdsfStatus = form.value.status | 308 | form.value.wdsfStatus = res.data.status |
| 309 | if (!form.value.sex) { | 309 | if (!form.value.sex) { |
| 310 | form.value.sex = '0' | 310 | form.value.sex = '0' |
| 311 | } | 311 | } | ... | ... |
| ... | @@ -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