Commit 66ab46b0 authored by liudong1993's avatar liudong1993

no message

parent c582bd2d
......@@ -76,10 +76,10 @@
</p>
<p class="_tips"><span v-if="infoData.IsWH==false" class="_left">(年)/(月)/(日)</span><span v-else class="_left">(日)/(月)/(年)</span><span class="_right">(省)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(市)</span></p>
<p class="_f_sex">
<span class="_fx_left">性别 <span><i v-if="infoData.PeopleModel.Sex!='1'"></i><i v-else>X</i></span><span><i v-if="infoData.PeopleModel.Sex!='2'"></i><i v-else>X</i></span>
<span class="_fx_left">性别 <span><i v-if="infoData.PeopleModel.Sex!='1'"></i><i v-else><span v-if="infoData.IsWH==true">X</span><span v-else></span></i></span><span><i v-if="infoData.PeopleModel.Sex!='2'"></i><i v-else><span v-if="infoData.IsWH==true">X</span><span v-else></span></i></span>
</span>
<span class="_fn_right">婚姻状况
<span v-for="mar in MarriageType" class="_mr10 _MarriageType"><span>{{mar.Name}} <i v-if="infoData.PeopleModel.Marriage!=mar.Id"></i><i v-else>X</i></span></span>
<span v-for="mar in MarriageType" class="_mr10 _MarriageType"><span>{{mar.Name}} <i v-if="infoData.PeopleModel.Marriage!=mar.Id"></i><i v-else><span v-if="infoData.IsWH==true">X</span><span v-else></span></i></span></span>
</span>
</p>
<p><span>国籍(或公民身份)<input disabled style="width: 100%;" type="text" v-model="infoData.PeopleModel.NationalityName"></span></p>
......@@ -87,7 +87,7 @@
<p><span>身份证号码<input style="width: 100%;" type="text" v-model="infoData.PeopleModel.IdCard"></span></p>
<p><span>护照类别</span>
<!-- PassportType -->
<span v-for="Pass in PassportTypeList" class="_mr10 _MarriageType"><span>{{Pass.Name}} <i v-if="Pass.Id==infoData.PeopleModel.PassportType">X</i><i v-else></i></span></span>
<span v-for="Pass in PassportTypeList" class="_mr10 _MarriageType"><span>{{Pass.Name}} <i v-if="Pass.Id==infoData.PeopleModel.PassportType"><span v-if="infoData.IsWH==true">X</span><span v-else></span></i><i v-else></i></span></span>
</p>
<p><span>护照号码<input style="width:100%;" type="text" v-model="infoData.PeopleModel.PassportNo"></span></p>
<p class="_mb0">
......@@ -444,6 +444,9 @@ export default {
this.creatQRCode()
}
this.infoData.PeopleModel.Sex = this.infoData.PeopleModel.Sex.toString()
if(this.infoData.IsWH==true){
this.infoData.PeopleModel.NationalityName="CHINA";
}
}else{
this.$message.error(res.data.message)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment