解决扫描身份证和刷银行卡功能bug与刷身份证后做选择题选项处理

20240205 银行项目V0.3
e 3 years ago
parent e340463ec8
commit 786cf6a008
  1. 12
      src/pages/manage/list/client/consumerClient.vue

@ -43,8 +43,8 @@
<el-form-item label="性别" prop="sex">
<el-select v-model="form.sex" placeholder="请选择" ref='sex'>
<el-option
v-for="(item,key) in gender"
:key="key"
v-for="item in gender"
:key="item.id"
:label="item.name"
:value="item.id"
>
@ -218,7 +218,13 @@ export default {
this.form.idNumber = idNumber
this.form.idType = 83
this.form.userName = userName
this.form.sex = sex
let sexs = null
if (sex == '男'){
sexs = 1
}else{
sexs = 2
}
this.form.sex = sexs
this.form.birthday = birthday
this.form.nationality = nationality
this.form.mailbox = mailbox

Loading…
Cancel
Save