提交 4dbb2e7154160c65f7e37ea45d5256ee01c3a951

作者 wangyu
1 个父辈 8eaf1651

修改证件号码隐藏逻辑

... ... @@ -286,15 +286,15 @@ Page({
286 286 newdata[i].sec_loan_start = this.formatDate(newdata[i].sec_loan_start)
287 287 }
288 288
289   - if (newdata[i].children_id_card_no) {
290   - newdata[i].children_id_card_no = this.formatIdNum(newdata[i].children_id_card_no)
291   - }
292   - if (newdata[i].spouse_id_card_no) {
293   - newdata[i].spouse_id_card_no = this.formatIdNum(newdata[i].spouse_id_card_no)
294   - }
295   - if (newdata[i].id_card_no) {
296   - newdata[i].id_card_no = this.formatIdNum(newdata[i].id_card_no)
297   - }
  289 + // if (newdata[i].children_id_card_no) {
  290 + // newdata[i].children_id_card_no = this.formatIdNum(newdata[i].children_id_card_no)
  291 + // }
  292 + // if (newdata[i].spouse_id_card_no) {
  293 + // newdata[i].spouse_id_card_no = this.formatIdNum(newdata[i].spouse_id_card_no)
  294 + // }
  295 + // if (newdata[i].id_card_no) {
  296 + // newdata[i].id_card_no = this.formatIdNum(newdata[i].id_card_no)
  297 + // }
298 298
299 299 if (newdata[i].house_address) {
300 300 if (newdata[i].house_address.province == newdata[i].house_address.city) {
... ... @@ -306,16 +306,7 @@ Page({
306 306
307 307 if (newdata[i].work_city) {
308 308 newdata[i].work_city_new = newdata[i].work_city.province + newdata[i].work_city.city
309   - }
310   -
311   - if (newdata[i].co_supporters && newdata[i].co_supporters.length > 0) {
312   - for (var j = 0; j < newdata[i].co_supporters.length; j++) {
313   - if (newdata[i].co_supporters[j].birthday) {
314   - newdata[i].co_supporters[j].birthday = this.formatDate(newdata[i].co_supporters[j].birthday)
315   - }
316   - newdata[i].co_supporters[j].id_card_no = this.formatIdNum(newdata[i].co_supporters[j].id_card_no)
317   - }
318   - }
  309 + }
319 310 }
320 311
321 312 var housetype_new = this.data.house_type
... ...
注册登录 后发表评论