Commit 6016b493 authored by 5359's avatar 5359

证件类型选择

parent cd081521
......@@ -152,6 +152,32 @@
<input type="text" class="edit" v-model="legalRepresentativeName" readonly/>
</div>
</div>
<div class="info_list" v-if="faceAuthStatus =='SUCCESS'">
<div class="list_left" style="width:54%;">
<img
src="../../../assets/userRegister/people.png"
alt
style="width:16px;height:16px;margin-right:5px;"
/>
法定代表人证件类型:
</div>
<div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="legalIdTypeN" @blur="goTop()"/>
</div>
</div>
<div class="info_list" v-if="faceAuthStatus !='SUCCESS'">
<div class="list_left" style="width:54%;">
<img
src="../../../assets/userRegister/people.png"
alt
style="width:16px;height:16px;margin-right:5px;"
/>
法定代表人证件类型:
</div>
<div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="legalIdTypeN" readonly @click="seelctIdType"/>
</div>
</div>
<div class="info_list" v-if="faceAuthStatus =='SUCCESS'">
<div class="list_left" style="width:54%;">
<img
......@@ -408,6 +434,19 @@
/>
</div>
</div>
<div class="info_list">
<div class="list_left" style="width:54%;">
<img
src="../../../assets/userRegister/people.png"
alt
style="width:16px;height:16px;margin-right:5px;"
/>
法定代表人证件类型:
</div>
<div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="legalIdTypeN" @click="seelctIdType"/>
</div>
</div>
<div class="info_list">
<div class="list_left" style="width:54%;">
<img
......@@ -533,6 +572,19 @@
<input type="text" class="edit" v-model="legalRepresentativeName" readonly/>
</div>
</div>
<div class="info_list" v-if="faceAuthStatus =='SUCCESS'">
<div class="list_left" style="width:54%;">
<img
src="../../../assets/userRegister/people.png"
alt
style="width:16px;height:16px;margin-right:5px;"
/>
法定代表人证件类型:
</div>
<div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="legalIdTypeN" readonly/>
</div>
</div>
<div class="info_list">
<div class="list_left" style="width:54%;">
<img
......@@ -619,7 +671,7 @@
alt
style="width:16px;height:16px;margin-right:5px;"
/>
经办人身份证号:
经办人证件号:
</div>
<div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="jbIdNumber" readonly/>
......@@ -712,6 +764,19 @@
<input type="text" class="edit" v-model="legalRepresentativeName1" readonly/>
</div>
</div>
<div class="info_list" v-if="faceAuthStatus =='SUCCESS'">
<div class="list_left" style="width:54%;">
<img
src="../../../assets/userRegister/people.png"
alt
style="width:16px;height:16px;margin-right:5px;"
/>
法定代表人证件类型:
</div>
<div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="legalIdTypeN" readonly/>
</div>
</div>
<div class="info_list">
<div class="list_left" style="width:54%;">
<img
......@@ -755,6 +820,8 @@
jbName: "", //经办人姓名
jbPhoneNumber: "", //经办人手机号码
jbIdNumber: "", //经办人身份证号码
legalIdType:"IDCard",
legalIdTypeN:"身份证",
status: "",
cardUp1: require("../../../assets/userRegister/camear.png"), //身份证照片url
busLic1: require("../../../assets/userRegister/camear.png"), //营业执照照片url
......@@ -793,6 +860,20 @@
authAttachmentId: "",
authOrgAttachmentId: "",
showStatus: "",
idTypeList: [
{
'code': 'IDCard',
'code_name': '身份证',
}, {
'code': 'Passport',
'code_name': '护照',
}, {
'code': 'HMPass',
'code_name': '港澳居民来往内地通行证',
}, {
'code': 'MTP',
'code_name': '台胞证',
}],
};
},
......@@ -1060,7 +1141,7 @@
vm.hlsPopup.showLongCenter("必输字端不能为空!");
return;
}
if (vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber)) {
if (vm.legalIdType=="IDCard" && vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber)) {
vm.hlsPopup.showLongCenter("法定代表人身份证号有误");
return;
} else {
......@@ -1089,6 +1170,7 @@
agentName: vm.legalRepresentativeName,
mobile: vm.legalPhoneNumber,
legalName: vm.legalRepresentativeName,
legalIdType: vm.legalIdType,
legalIdNo: vm.legalRepresentativeCardNumber,
agentType: "1",
// dealerFlag: vm.agentType,
......@@ -1125,7 +1207,7 @@
vm.hlsPopup.showLongCenter("必输字端不能为空!");
return;
}
if (vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber1)) {
if (vm.legalIdType=="IDCard" && vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber1)) {
vm.hlsPopup.showLongCenter("身份证号有误");
return;
} else {
......@@ -1154,6 +1236,7 @@
mobile: vm.jbPhoneNumber,
name: vm.organizationName1,
legalName: vm.legalRepresentativeName1,
legalIdType: vm.legalIdType,
legalIdNo: vm.legalRepresentativeCardNumber1,
agentType: "2",
redirectUrl:
......@@ -1394,7 +1477,19 @@
}
}
});
}
},
seelctIdType () {
let vm = this
vm.hlsPopup.selectList({
list: vm.idTypeList,
code: 'legalIdType',
object: {},
returnItem (index) {
vm.legalIdType = vm.idTypeList[index].code
vm.legalIdTypeN = vm.idTypeList[index].code_name
},
})
},
}
};
</script>
......
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