新市民类型修改为0否1是

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-09-22 15:12:37 +08:00
parent 98ea659bcf
commit e1362d14a2
4 changed files with 6 additions and 6 deletions

View File

@@ -1066,7 +1066,7 @@ export default {
text: '是'
},
{
id: 2,
id: 0,
text: '否'
}
],

View File

@@ -92,7 +92,7 @@
新市民身份
</label>
<van-radio name="1" class="ml30"></van-radio>
<van-radio name="2" class="ml20"></van-radio>
<van-radio name="0" class="ml20"></van-radio>
</van-radio-group>
<van-icon name="question-o" size="20" @click="isNewPeopleFlagTip"/>
</div>

View File

@@ -178,7 +178,7 @@
新市民身份
</label>
<van-radio name="1" class="ml30"></van-radio>
<van-radio name="2" class="ml20"></van-radio>
<van-radio name="0" class="ml20"></van-radio>
</van-radio-group>
<van-icon name="question-o" size="20" @click="isNewPeopleFlagTip"/>
</div>
@@ -1081,7 +1081,7 @@ export default {
async nextStep() {
//表单校验, 成功跳转
let valid = await this.$validator.validate()
if(!this.userInfo.isNewPeopleFlag && this.manageComCode == '45'){
if(this.userInfo.isNewPeopleFlag === '' && this.manageComCode == '45'){
this.$toast('新市民身份不能为空')
return false
}

View File

@@ -213,7 +213,7 @@
新市民身份
</label>
<van-radio name="1" class="ml30"></van-radio>
<van-radio name="2" class="ml20"></van-radio>
<van-radio name="0" class="ml20"></van-radio>
</van-radio-group>
<van-icon name="question-o" size="20" @click="isNewPeopleFlagTip"/>
</div>
@@ -1380,7 +1380,7 @@ export default {
//下一步
async nextStep() {
let valid = await this.$validator.validate()
if(!this.userInfo.isNewPeopleFlag && this.manageComCode == '45'){
if(this.userInfo.isNewPeopleFlag === '' && this.manageComCode == '45'){
this.$toast('新市民身份不能为空')
return false
}