mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 22:32:54 +08:00
【金融机构客户尽职调查和客户身份资料及交易记录保存管理办法要求需求】添加证件起始日期
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
>
|
>
|
||||||
<van-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3')">证件扫描</van-button>
|
<van-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3')">证件扫描</van-button>
|
||||||
</van-field>
|
</van-field>
|
||||||
<!-- <FieldDatePicter
|
<FieldDatePicter
|
||||||
v-validate="'required'"
|
v-validate="'required'"
|
||||||
label="证件起始日期"
|
label="证件起始日期"
|
||||||
name="证件起始日期"
|
name="证件起始日期"
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
@confirm="onDateConfirm($event, '0')"
|
@confirm="onDateConfirm($event, '0')"
|
||||||
ref="certificateValidate"
|
ref="certificateValidate"
|
||||||
:flag="true"
|
:flag="true"
|
||||||
></FieldDatePicter> -->
|
></FieldDatePicter>
|
||||||
<FieldDatePicter
|
<FieldDatePicter
|
||||||
:v-validate="{ required: certiexpiredateRequired }"
|
:v-validate="{ required: certiexpiredateRequired }"
|
||||||
required
|
required
|
||||||
@@ -482,7 +482,7 @@ export default {
|
|||||||
birthday: '',
|
birthday: '',
|
||||||
idType: '1', //证件类型
|
idType: '1', //证件类型
|
||||||
idNo: '', //证件号码
|
idNo: '', //证件号码
|
||||||
// certificateValidate: '', //证件起始日期
|
certificateValidate: '', //证件起始日期
|
||||||
certiexpiredate: '', //证件到期时间
|
certiexpiredate: '', //证件到期时间
|
||||||
effectiveDateType: false, //是否长期
|
effectiveDateType: false, //是否长期
|
||||||
occupationCode: '', //职业类别编码
|
occupationCode: '', //职业类别编码
|
||||||
@@ -824,24 +824,24 @@ export default {
|
|||||||
//证件起始截止日期
|
//证件起始截止日期
|
||||||
onDateConfirm(val, type) {
|
onDateConfirm(val, type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
// case '0':
|
case '0':
|
||||||
// {
|
{
|
||||||
// //证件起始日期
|
//证件起始日期
|
||||||
// //如果录入日期早于出生日期或晚于当前日期
|
//如果录入日期早于出生日期或晚于当前日期
|
||||||
// if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
|
if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
|
||||||
// this.userInfo.certificateValidate = ''
|
this.userInfo.certificateValidate = ''
|
||||||
// this.$refs.certificateValidate.date = ''
|
this.$refs.certificateValidate.date = ''
|
||||||
// return this.$toast('证件起始日期填写错误')
|
return this.$toast('证件起始日期填写错误')
|
||||||
// }
|
}
|
||||||
|
|
||||||
// // 计算年龄
|
// 计算年龄
|
||||||
// if (this.userInfo.idType == '1') {
|
if (this.userInfo.idType == '1') {
|
||||||
// let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||||
// // 长期按钮是否禁用
|
// 长期按钮是否禁用
|
||||||
// this.effectiveDateTypeAble = age <= 45
|
this.effectiveDateTypeAble = age <= 45
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// break
|
break
|
||||||
case '1':
|
case '1':
|
||||||
{
|
{
|
||||||
console.log('证件截止日期')
|
console.log('证件截止日期')
|
||||||
@@ -928,7 +928,7 @@ export default {
|
|||||||
this.userInfo.birthday = data.birthday //出生日期
|
this.userInfo.birthday = data.birthday //出生日期
|
||||||
this.userInfo.idType = data.customerIdType //证件类型
|
this.userInfo.idType = data.customerIdType //证件类型
|
||||||
this.userInfo.idNo = data.customerIdNumber //证件类别
|
this.userInfo.idNo = data.customerIdNumber //证件类别
|
||||||
// this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
|
this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
|
||||||
if (data.idEffectEndDate == '9999-01-01') {
|
if (data.idEffectEndDate == '9999-01-01') {
|
||||||
this.userInfo.effectiveDateType = true //是否长期
|
this.userInfo.effectiveDateType = true //是否长期
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
:readonly="isAppnt"
|
:readonly="isAppnt"
|
||||||
:maxDate="currentTime"
|
:maxDate="currentTime"
|
||||||
></FieldDatePicter>
|
></FieldDatePicter>
|
||||||
<!-- <FieldDatePicter
|
<FieldDatePicter
|
||||||
v-validate="'required'"
|
v-validate="'required'"
|
||||||
label="证件起始日期"
|
label="证件起始日期"
|
||||||
name="证件起始日期"
|
name="证件起始日期"
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
@confirm="onDateConfirm($event, '0')"
|
@confirm="onDateConfirm($event, '0')"
|
||||||
ref="certificateValidate"
|
ref="certificateValidate"
|
||||||
:readonly="isAppnt || idLimit"
|
:readonly="isAppnt || idLimit"
|
||||||
></FieldDatePicter> -->
|
></FieldDatePicter>
|
||||||
<FieldDatePicter
|
<FieldDatePicter
|
||||||
v-validate="{ required: certiexpiredateRequired }"
|
v-validate="{ required: certiexpiredateRequired }"
|
||||||
label="证件截止日期"
|
label="证件截止日期"
|
||||||
@@ -546,7 +546,7 @@ export default {
|
|||||||
birthday: '',
|
birthday: '',
|
||||||
idType: '1', //证件类型
|
idType: '1', //证件类型
|
||||||
idNo: '', //证件号码
|
idNo: '', //证件号码
|
||||||
// certificateValidate: '', //证件起始日期
|
certificateValidate: '', //证件起始日期
|
||||||
certiexpiredate: '', //证件到期时间
|
certiexpiredate: '', //证件到期时间
|
||||||
effectiveDateType: false, //是否长期
|
effectiveDateType: false, //是否长期
|
||||||
occupationCode: '',
|
occupationCode: '',
|
||||||
@@ -1027,24 +1027,24 @@ export default {
|
|||||||
//证件起始截止日期
|
//证件起始截止日期
|
||||||
onDateConfirm(val, type) {
|
onDateConfirm(val, type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
// case '0':
|
case '0':
|
||||||
// {
|
{
|
||||||
// //证件起始日期
|
//证件起始日期
|
||||||
// //如果录入日期早于出生日期或晚于当前日期
|
//如果录入日期早于出生日期或晚于当前日期
|
||||||
// if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
|
if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
|
||||||
// this.userInfo.certificateValidate = ''
|
this.userInfo.certificateValidate = ''
|
||||||
// this.$refs.certificateValidate.date = ''
|
this.$refs.certificateValidate.date = ''
|
||||||
// return this.$toast('证件起始日期填写错误')
|
return this.$toast('证件起始日期填写错误')
|
||||||
// }
|
}
|
||||||
|
|
||||||
// // 计算年龄
|
// 计算年龄
|
||||||
// if (this.userInfo.idType == '1') {
|
if (this.userInfo.idType == '1') {
|
||||||
// let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||||
// // 长期按钮是否禁用
|
// 长期按钮是否禁用
|
||||||
// this.effectiveDateTypeAble = age <= 45
|
this.effectiveDateTypeAble = age <= 45
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// break
|
break
|
||||||
case '1':
|
case '1':
|
||||||
{
|
{
|
||||||
//证件截止日期
|
//证件截止日期
|
||||||
@@ -1220,7 +1220,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.userInfo.idNo = data.customerIdNumber //证件号码
|
this.userInfo.idNo = data.customerIdNumber //证件号码
|
||||||
// this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
|
this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
|
||||||
// this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
|
// this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
|
||||||
// this.userInfo.effectiveDateType = data.idEffectEndDate == '9999-01-01' //是否长期
|
// this.userInfo.effectiveDateType = data.idEffectEndDate == '9999-01-01' //是否长期
|
||||||
if (data.idEffectEndDate == '9999-01-01') {
|
if (data.idEffectEndDate == '9999-01-01') {
|
||||||
|
|||||||
Reference in New Issue
Block a user