diff --git a/src/views/ebiz/sale/js/methods.js b/src/views/ebiz/sale/js/methods.js index d29a11ce4..b2cda7c38 100644 --- a/src/views/ebiz/sale/js/methods.js +++ b/src/views/ebiz/sale/js/methods.js @@ -61,10 +61,12 @@ export function getIdentityInfo(that, data, type) { } // 反面 if (data.startDate && data.startDate != '待识别') { - that.userInfo.certificateValidate = `${data.startDate.substr(0, 4)}-${data.startDate.substr(4, 2)}-${data.startDate.substr(6, 2)}` + that.userInfo.certificateValidate = `${data.startDate.substr(0, 4)}-${data.startDate.substr(5, 2)}-${data.startDate.substr(8, 2)}` + //that.userInfo.certificateValidate = `${data.startDate.substr(0, 4)}-${data.startDate.substr(4, 2)}-${data.startDate.substr(6, 2)}` // 是否为长期身份证 if (data.endDate != '长期') { - that.userInfo.certiexpiredate = `${data.endDate.substr(0, 4)}-${data.endDate.substr(4, 2)}-${data.endDate.substr(6, 2)}` + that.userInfo.certiexpiredate = `${data.endDate.substr(0, 4)}-${data.endDate.substr(5, 2)}-${data.endDate.substr(8, 2)}` + // that.userInfo.certiexpiredate = `${data.endDate.substr(0, 4)}-${data.endDate.substr(4, 2)}-${data.endDate.substr(6, 2)}` that.effectiveDateTypeAble = true } else { // 勾选长期