提交 c3efc7f4b8f63d25664932eed88958205142478d

作者 pangy
1 个父辈 44f7458d

优化

@@ -387,6 +387,7 @@ Page({ @@ -387,6 +387,7 @@ Page({
387 //对各参数初始赋值 387 //对各参数初始赋值
388 handleDatas: function (tax_info) { 388 handleDatas: function (tax_info) {
389 //todo 389 //todo
  390 + console.log('tax_info', tax_info)
390 var curdate = format.curDateTime() 391 var curdate = format.curDateTime()
391 this.dealCardType(tax_info.id_card_type)//为防止干扰其他字段,需要先执行 392 this.dealCardType(tax_info.id_card_type)//为防止干扰其他字段,需要先执行
392 393
@@ -434,9 +435,9 @@ Page({ @@ -434,9 +435,9 @@ Page({
434 } 435 }
435 const firstEntryDate = format.formatTime_date(tax_info.first_entry_date) 436 const firstEntryDate = format.formatTime_date(tax_info.first_entry_date)
436 const predictLeaveDate = format.formatTime_date(tax_info.predict_leave_date) 437 const predictLeaveDate = format.formatTime_date(tax_info.predict_leave_date)
437 - this.data.firstEntryDate.selected = (firstEntryDate.indexOf("NaN") == -1) ? firstEntryDate:'' 438 + this.data.firstEntryDate.selected = (firstEntryDate.indexOf("01-01-01") == -1) ? firstEntryDate:''
438 this.data.firstEntryDate.datelong = tax_info.first_entry_date 439 this.data.firstEntryDate.datelong = tax_info.first_entry_date
439 - this.data.predictLeaveDate.selected = (predictLeaveDate.indexOf("NaN") == -1) ? predictLeaveDate : '' 440 + this.data.predictLeaveDate.selected = (predictLeaveDate.indexOf("01-01-01") == -1) ? predictLeaveDate : ''
440 this.data.predictLeaveDate.datelong = tax_info.predict_leave_date 441 this.data.predictLeaveDate.datelong = tax_info.predict_leave_date
441 // this.data.professionData.selected = tax_info.profession.three_level_name 442 // this.data.professionData.selected = tax_info.profession.three_level_name
442 443
注册登录 后发表评论