提交 230fd5e385f65a0910d9c2ad808d2e52ccdb6d62

作者 pangy
2 个父辈 2fc0486f 73602703

Merge branch '机器人_py' into 机器人dev

@@ -135,8 +135,6 @@ Page({ @@ -135,8 +135,6 @@ Page({
135 placeholder: '出生日期', 135 placeholder: '出生日期',
136 mode: "date", 136 mode: "date",
137 fields: "day", 137 fields: "day",
138 - start: '1970-01-01',  
139 - end: '2018-01-01',  
140 onChange: 'onPickerSelect', 138 onChange: 'onPickerSelect',
141 }, 139 },
142 childedudegreeData: { 140 childedudegreeData: {
@@ -252,8 +250,6 @@ Page({ @@ -252,8 +250,6 @@ Page({
252 placeholder: '出生日期', 250 placeholder: '出生日期',
253 mode: "date", 251 mode: "date",
254 fields: "day", 252 fields: "day",
255 - start: '1970-01-01',  
256 - end: '2018-01-01',  
257 onChange: 'onPickerSelect', 253 onChange: 'onPickerSelect',
258 }, 254 },
259 beforemarryData: { 255 beforemarryData: {
@@ -298,7 +294,6 @@ Page({ @@ -298,7 +294,6 @@ Page({
298 mode: "date", 294 mode: "date",
299 fields: "month", 295 fields: "month",
300 datelong: 0, 296 datelong: 0,
301 - start: '1970-01-01',  
302 end: (new Date()).getFullYear() +'-'+ ((new Date()).getMonth()+1), 297 end: (new Date()).getFullYear() +'-'+ ((new Date()).getMonth()+1),
303 // start: (new Date()).getFullYear() + '-09-01',//'1970-01-01', 298 // start: (new Date()).getFullYear() + '-09-01',//'1970-01-01',
304 // end: (new Date()).getFullYear() + '-09-01', 299 // end: (new Date()).getFullYear() + '-09-01',
@@ -315,7 +310,6 @@ Page({ @@ -315,7 +310,6 @@ Page({
315 onChange: 'onPickerSelect', 310 onChange: 'onPickerSelect',
316 mode: "date", 311 mode: "date",
317 fields: "month", 312 fields: "month",
318 - start: '1970-01-01',  
319 // start: (new Date()).getFullYear() + '-09-01',//'1970-01-01', 313 // start: (new Date()).getFullYear() + '-09-01',//'1970-01-01',
320 // end: (new Date()).getFullYear() + '-09-01', 314 // end: (new Date()).getFullYear() + '-09-01',
321 // onTap: 'studyDataTap' 315 // onTap: 'studyDataTap'
@@ -330,7 +324,6 @@ Page({ @@ -330,7 +324,6 @@ Page({
330 onChange: 'onPickerSelect', 324 onChange: 'onPickerSelect',
331 mode: "date", 325 mode: "date",
332 fields: "month", 326 fields: "month",
333 - start: '1970-01-01',  
334 // start: (new Date()).getFullYear() + '-07-31',//'1970-01-01', 327 // start: (new Date()).getFullYear() + '-07-31',//'1970-01-01',
335 // end: (new Date()).getFullYear() + '-07-31', 328 // end: (new Date()).getFullYear() + '-07-31',
336 // onTap: 'studyDataTap', 329 // onTap: 'studyDataTap',
@@ -347,7 +340,6 @@ Page({ @@ -347,7 +340,6 @@ Page({
347 onChange: 'onPickerSelect', 340 onChange: 'onPickerSelect',
348 mode: "date", 341 mode: "date",
349 fields: "day", 342 fields: "day",
350 - start: '1970-01-01',  
351 datelong: 0, 343 datelong: 0,
352 }, 344 },
353 identifytypeData: { 345 identifytypeData: {
@@ -434,7 +426,6 @@ Page({ @@ -434,7 +426,6 @@ Page({
434 onChange: 'onPickerSelect', 426 onChange: 'onPickerSelect',
435 mode: "date", 427 mode: "date",
436 fields: "day", 428 fields: "day",
437 - start: '1970-01-01',  
438 datelong: 0, 429 datelong: 0,
439 }, 430 },
440 firstpaybackDate_2: { 431 firstpaybackDate_2: {
@@ -448,7 +439,6 @@ Page({ @@ -448,7 +439,6 @@ Page({
448 onChange: 'onPickerSelect', 439 onChange: 'onPickerSelect',
449 mode: "date", 440 mode: "date",
450 fields: "day", 441 fields: "day",
451 - start: '1970-01-01',  
452 datelong: 0, 442 datelong: 0,
453 }, 443 },
454 leasestartDate: { 444 leasestartDate: {
@@ -462,7 +452,6 @@ Page({ @@ -462,7 +452,6 @@ Page({
462 onChange: 'onPickerSelect', 452 onChange: 'onPickerSelect',
463 mode: "date", 453 mode: "date",
464 fields: "day", 454 fields: "day",
465 - start: '1970-01-01',  
466 datelong: 0, 455 datelong: 0,
467 }, 456 },
468 leaseendDate: { 457 leaseendDate: {
@@ -476,7 +465,6 @@ Page({ @@ -476,7 +465,6 @@ Page({
476 onChange: 'onPickerSelect', 465 onChange: 'onPickerSelect',
477 mode: "date", 466 mode: "date",
478 fields: "day", 467 fields: "day",
479 - start: '1970-01-01',  
480 datelong: 0, 468 datelong: 0,
481 }, 469 },
482 loandatelongData: { 470 loandatelongData: {
@@ -496,7 +484,7 @@ Page({ @@ -496,7 +484,7 @@ Page({
496 // selected: '中国', 484 // selected: '中国',
497 // isblack: 'true', 485 // isblack: 'true',
498 values: [], 486 values: [],
499 - // placeholder: '中国', 487 + placeholder: '请选择就读国家(地区)',
500 onChange: 'onPickerSelect', 488 onChange: 'onPickerSelect',
501 }, 489 },
502 countryData: { 490 countryData: {
@@ -726,6 +714,7 @@ Page({ @@ -726,6 +714,7 @@ Page({
726 if (data.name && data.name.length) { 714 if (data.name && data.name.length) {
727 setData.spouse_name = data.name 715 setData.spouse_name = data.name
728 } 716 }
  717 + that.dealCardType(data.id_card_type, 'lovercardtype')
729 that.data.lovercardtypeData.selected = data.id_card_type 718 that.data.lovercardtypeData.selected = data.id_card_type
730 setData.lovercardtypeData = that.data.lovercardtypeData 719 setData.lovercardtypeData = that.data.lovercardtypeData
731 if (data.id_card_no && data.id_card_no.length) { 720 if (data.id_card_no && data.id_card_no.length) {
@@ -734,11 +723,11 @@ Page({ @@ -734,11 +723,11 @@ Page({
734 that.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input') 723 that.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input')
735 } 724 }
736 } 725 }
737 - that.data.loverbirthDate.selected = format.formatTime_date(data.birth_date) 726 + that.data.loverbirthDate.selected = data.birth_date_str//format.formatTime_date(data.birth_date)
738 that.data.loverbirthDate.datelong = data.birth_date 727 that.data.loverbirthDate.datelong = data.birth_date
739 setData.loverbirthDate = that.data.loverbirthDate 728 setData.loverbirthDate = that.data.loverbirthDate
740 that.data.loverCountryData.selected = data.native 729 that.data.loverCountryData.selected = data.native
741 - that.data.loverCountryData.disabled = true 730 + // that.data.loverCountryData.disabled = true
742 setData.loverCountryData = that.data.loverCountryData 731 setData.loverCountryData = that.data.loverCountryData
743 that.setData(setData) 732 that.setData(setData)
744 } 733 }
@@ -1029,6 +1018,12 @@ Page({ @@ -1029,6 +1018,12 @@ Page({
1029 setData.spouse_name = data.spouse_name 1018 setData.spouse_name = data.spouse_name
1030 } 1019 }
1031 this.dealCardType(data.id_card_type, 'lovercardtype') 1020 this.dealCardType(data.id_card_type, 'lovercardtype')
  1021 + var loverbirthDate = this.data.loverbirthDate
  1022 + loverbirthDate.selected = format.formatTime_date(data.birthday)//(data.spouse_birthday)
  1023 + loverbirthDate.datelong = data.spouse_birthday
  1024 + setData.loverbirthDate = loverbirthDate
  1025 + this.data.loverCountryData.selected = data.nation
  1026 + setData.loverCountryData = this.data.loverCountryData
1032 if (data.id_card_no && data.id_card_no.length) { 1027 if (data.id_card_no && data.id_card_no.length) {
1033 setData.spouse_id_card_no = data.id_card_no 1028 setData.spouse_id_card_no = data.id_card_no
1034 if ('居民身份证' == data.id_card_type) { 1029 if ('居民身份证' == data.id_card_type) {
@@ -1171,7 +1166,7 @@ Page({ @@ -1171,7 +1166,7 @@ Page({
1171 this.data.countryData.selected = data.native 1166 this.data.countryData.selected = data.native
1172 setData.countryData = this.data.countryData 1167 setData.countryData = this.data.countryData
1173 var commonbirthDate = this.data.commonbirthDate 1168 var commonbirthDate = this.data.commonbirthDate
1174 - commonbirthDate.selected = format.formatTime_date(data.birth_date) 1169 + commonbirthDate.selected = data.birth_date_str//format.formatTime_date(data.birth_date)
1175 commonbirthDate.datelong = data.birth_date 1170 commonbirthDate.datelong = data.birth_date
1176 setData.commonbirthDate = commonbirthDate 1171 setData.commonbirthDate = commonbirthDate
1177 if (data.id_card_no && data.id_card_no.length) { 1172 if (data.id_card_no && data.id_card_no.length) {
@@ -1194,9 +1189,11 @@ Page({ @@ -1194,9 +1189,11 @@ Page({
1194 this.dealCardType(data.id_card_type, 'oldercardtype')//为防止干扰其他字段,需要先执行 1189 this.dealCardType(data.id_card_type, 'oldercardtype')//为防止干扰其他字段,需要先执行
1195 var setData = {} 1190 var setData = {}
1196 var olderbirthDate = this.data.olderbirthDate 1191 var olderbirthDate = this.data.olderbirthDate
1197 - olderbirthDate.selected = format.formatTime_date(data.birth_date) 1192 + olderbirthDate.selected = data.birth_date_str//format.formatTime_date(data.birth_date)
1198 olderbirthDate.datelong = data.birth_date 1193 olderbirthDate.datelong = data.birth_date
1199 setData.olderbirthDate = olderbirthDate 1194 setData.olderbirthDate = olderbirthDate
  1195 + this.data.olderCountryData.selected = data.native
  1196 + setData.olderCountryData = this.data.olderCountryData
1200 if (data.name && data.name.length) { 1197 if (data.name && data.name.length) {
1201 setData.supported_name = data.name 1198 setData.supported_name = data.name
1202 } 1199 }
@@ -1309,6 +1306,7 @@ Page({ @@ -1309,6 +1306,7 @@ Page({
1309 children_name: id_info.name, 1306 children_name: id_info.name,
1310 commonbirthDate: that.data.commonbirthDate 1307 commonbirthDate: that.data.commonbirthDate
1311 } 1308 }
  1309 + that.dealBrithDate(info.birthDay)//根据出生日期 计算 学前受教育时间
1312 if (format.getAge(birth_day) < 3) { 1310 if (format.getAge(birth_day) < 3) {
1313 that.showToast('子女年龄小于3岁,不可申报') 1311 that.showToast('子女年龄小于3岁,不可申报')
1314 } 1312 }
@@ -2114,6 +2112,15 @@ Page({ @@ -2114,6 +2112,15 @@ Page({
2114 break; 2112 break;
2115 } 2113 }
2116 }, 2114 },
  2115 + //根据出生日期 计算 学前受教育时间
  2116 + dealBrithDate: function (birthDay){
  2117 + if (this.data.childedudegreeData.selected == '学前教育阶段') {
  2118 + var year = birthDay.substring(0, 4)
  2119 + year = parseInt(year) + 3
  2120 + var month = birthDay.substring(4, 7)
  2121 + this.handleStartDate(year + month, true) //处理受教育时间起的逻辑
  2122 + }
  2123 + },
2117 //根据身份证号码,获取相关信息 2124 //根据身份证号码,获取相关信息
2118 dealIdInfo: function (idCardNum, idcard_belong) { 2125 dealIdInfo: function (idCardNum, idcard_belong) {
2119 var info = format.analyzeIDCard(idCardNum) 2126 var info = format.analyzeIDCard(idCardNum)
@@ -2125,6 +2132,7 @@ Page({ @@ -2125,6 +2132,7 @@ Page({
2125 data = { 2132 data = {
2126 commonbirthDate: this.data.commonbirthDate 2133 commonbirthDate: this.data.commonbirthDate
2127 } 2134 }
  2135 + this.dealBrithDate(info.birthDay)//根据出生日期 计算 学前受教育时间
2128 if (info.age<3){ 2136 if (info.age<3){
2129 this.showToast('子女年龄小于3岁,不可申报') 2137 this.showToast('子女年龄小于3岁,不可申报')
2130 } 2138 }
@@ -2464,6 +2472,7 @@ Page({ @@ -2464,6 +2472,7 @@ Page({
2464 case 'commonbirthday': 2472 case 'commonbirthday':
2465 var children_birthDate = this.data.commonbirthDate 2473 var children_birthDate = this.data.commonbirthDate
2466 children_birthDate.selected = e.detail.value 2474 children_birthDate.selected = e.detail.value
  2475 + this.dealBrithDate(e.detail.value)//根据出生日期 计算 学前受教育时间
2467 children_birthDate.datelong = (Date.parse(new Date(e.detail.value)) / 1000) 2476 children_birthDate.datelong = (Date.parse(new Date(e.detail.value)) / 1000)
2468 this.setData({ 2477 this.setData({
2469 commonbirthDate: children_birthDate 2478 commonbirthDate: children_birthDate
@@ -138,7 +138,7 @@ @@ -138,7 +138,7 @@
138 <text class='text_777_30 float_left'>被赡养人证照号码</text> 138 <text class='text_777_30 float_left'>被赡养人证照号码</text>
139 <view> 139 <view>
140 <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="older_id_card_no" hidden='{{!isIdCard_older}}'></image> 140 <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="older_id_card_no" hidden='{{!isIdCard_older}}'></image>
141 - <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入证照号码' maxlength='18' type='idcard' name='id_card_no' value='{{id_card_no}}' bindinput="idChange" bindblur="idDone" id="older_id_card_no_input"></input> 141 + <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入证照号码' maxlength='18' name='id_card_no' value='{{id_card_no}}' bindinput="idChange" bindblur="idDone" id="older_id_card_no_input"></input>
142 </view> 142 </view>
143 </view> 143 </view>
144 <view class='divide_line_30'></view> 144 <view class='divide_line_30'></view>
@@ -309,7 +309,7 @@ @@ -309,7 +309,7 @@
309 <text class='text_777_30 float_left head_in'>证照号码</text> 309 <text class='text_777_30 float_left head_in'>证照号码</text>
310 <view> 310 <view>
311 <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="owner_id_card_no" hidden='{{!isIdCard_owner}}'></image> 311 <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="owner_id_card_no" hidden='{{!isIdCard_owner}}'></image>
312 - <input class='input_wrap' placeholder-class='text_999_30 float_right' style=' line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入证照号码' maxlength='18' type='idcard' name='owner_id_card_no' value='{{owner_id_card_no}}' bindinput="idChange" bindblur="idDone" id='owner_id_card_no_input'></input> 312 + <input class='input_wrap' placeholder-class='text_999_30 float_right' style=' line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入证照号码' maxlength='18' name='owner_id_card_no' value='{{owner_id_card_no}}' bindinput="idChange" bindblur="idDone" id='owner_id_card_no_input'></input>
313 </view> 313 </view>
314 </view> 314 </view>
315 </view> 315 </view>
@@ -359,7 +359,7 @@ @@ -359,7 +359,7 @@
359 <view class='divide_line_30'></view> 359 <view class='divide_line_30'></view>
360 <view style='height:90rpx'> 360 <view style='height:90rpx'>
361 <text class='text_777_30 float_left head_in'>配偶姓名</text> 361 <text class='text_777_30 float_left head_in'>配偶姓名</text>
362 - <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}' disabled='{{hasGetLover}}'></input> 362 + <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}'></input><!-- disabled='{{hasGetLover}}' -->
363 </view> 363 </view>
364 <view class='divide_line_30'></view> 364 <view class='divide_line_30'></view>
365 <template is="picker_cell_normal" data="{{...lovercardtypeData}}" /> 365 <template is="picker_cell_normal" data="{{...lovercardtypeData}}" />
@@ -367,8 +367,8 @@ @@ -367,8 +367,8 @@
367 <view style='height:90rpx'> 367 <view style='height:90rpx'>
368 <text class='text_777_30 float_left head_in'>配偶证照号码</text> 368 <text class='text_777_30 float_left head_in'>配偶证照号码</text>
369 <view> 369 <view>
370 - <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden='{{hasGetLover || !isIdCard_lover}}' id="spouse_id_card_no"></image>  
371 - <input class='input_wrap' style='color:#000;' placeholder='请输入证照号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' type='idcard' value='{{spouse_id_card_no}}' bindinput="idChange" bindblur="idDone" id='spouse_id_card_no_input' disabled='{{hasGetLover}}'></input> 370 + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden='{{!isIdCard_lover}}' id="spouse_id_card_no"></image><!-- hidden='{{hasGetLover || !isIdCard_lover}}' -->
  371 + <input class='input_wrap' style='color:#000;' placeholder='请输入证照号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' value='{{spouse_id_card_no}}' bindinput="idChange" bindblur="idDone" id='spouse_id_card_no_input'></input><!-- disabled='{{hasGetLover}}' -->
372 </view> 372 </view>
373 </view> 373 </view>
374 <view class='divide_line_30'></view> 374 <view class='divide_line_30'></view>
@@ -1230,19 +1230,33 @@ Page({ @@ -1230,19 +1230,33 @@ Page({
1230 this.showtoast('手机号码有误'); 1230 this.showtoast('手机号码有误');
1231 return 1231 return
1232 } 1232 }
  1233 + if (formdata.current_address_detail.length > 0 && this.data.currentaddressInfo.selected.length < 1) {
  1234 + this.showtoast('请选择居住地址');
  1235 + return
  1236 + }
1233 if (this.data.curAddress_haschanged) {//选择了地址 || this.data.taxInfo.current_address.province_code 1237 if (this.data.curAddress_haschanged) {//选择了地址 || this.data.taxInfo.current_address.province_code
1234 if (formdata.current_address_detail.length < 1) { 1238 if (formdata.current_address_detail.length < 1) {
1235 this.showtoast('请填写详细居住地址'); 1239 this.showtoast('请填写详细居住地址');
1236 return 1240 return
1237 } 1241 }
1238 } 1242 }
  1243 + if (formdata.huji_address_detail.length > 0 && this.data.birthaddressInfo.selected.length < 1) {
  1244 + this.showtoast('请选择户籍地址');
  1245 + return
  1246 + }
1239 if (this.data.birthAddress_haschanged) {//选择了地址 || this.data.taxInfo.huji_address.province_code 1247 if (this.data.birthAddress_haschanged) {//选择了地址 || this.data.taxInfo.huji_address.province_code
1240 if (formdata.huji_address_detail.length < 1) { 1248 if (formdata.huji_address_detail.length < 1) {
1241 this.showtoast('请填写详细户籍地址'); 1249 this.showtoast('请填写详细户籍地址');
1242 return 1250 return
1243 } 1251 }
1244 } 1252 }
1245 - if (this.data.contactAddress_haschanged) {//选择了地址 || this.data.taxInfo.contact_address.province_code 1253 + if (this.data.hasOtherCard && formdata.contact_address_detail.length > 0) {
  1254 + if (this.data.contactaddressInfo.selected.length < 1) {
  1255 + this.showtoast('请选择联系地址');
  1256 + return
  1257 + }
  1258 + }
  1259 + if (this.data.hasOtherCard && this.data.contactAddress_haschanged) {//选择了地址 || this.data.taxInfo.contact_address.province_code
1246 if (formdata.contact_address_detail.length < 1) { 1260 if (formdata.contact_address_detail.length < 1) {
1247 this.showtoast('请填写详细联系地址'); 1261 this.showtoast('请填写详细联系地址');
1248 return 1262 return
@@ -1256,21 +1270,17 @@ Page({ @@ -1256,21 +1270,17 @@ Page({
1256 // this.showtoast('邮箱格式有误'); 1270 // this.showtoast('邮箱格式有误');
1257 // return 1271 // return
1258 // } 1272 // }
  1273 + if (this.data.bankInfo.selected.length > 0 && formdata.bank_account.length < 1) {
  1274 + this.showtoast('请输入银行卡号')
  1275 + return
  1276 + }
1259 if (formdata.bank_account && formdata.bank_account.length > 0) { 1277 if (formdata.bank_account && formdata.bank_account.length > 0) {
1260 if (!format.banknoCheck(formdata.bank_account)){ 1278 if (!format.banknoCheck(formdata.bank_account)){
1261 - wx.showToast({  
1262 - title: '银行卡号格式有误',  
1263 - duration: 2000,  
1264 - icon: 'none'  
1265 - }) 1279 + this.showtoast('银行卡号格式有误')
1266 return 1280 return
1267 } 1281 }
1268 if (!this.data.bankInfo.selected) { 1282 if (!this.data.bankInfo.selected) {
1269 - wx.showToast({  
1270 - title: '请选择开户银行',  
1271 - duration: 2000,  
1272 - icon: 'none'  
1273 - }) 1283 + this.showtoast('请选择开户银行')
1274 return 1284 return
1275 } 1285 }
1276 } 1286 }
@@ -1370,8 +1380,8 @@ Page({ @@ -1370,8 +1380,8 @@ Page({
1370 "is_lonely_man": that.data.lonelyolderInfo.selected, 1380 "is_lonely_man": that.data.lonelyolderInfo.selected,
1371 "comment": formdata.comment, 1381 "comment": formdata.comment,
1372 1382
1373 - "contact_address": request_contact_address,  
1374 - "contact_address_detail": formdata.contact_address_detail, 1383 + "contact_address": that.data.hasOtherCard ? request_contact_address : {},
  1384 + "contact_address_detail": that.data.hasOtherCard ? formdata.contact_address_detail: '',
1375 1385
1376 // "join_date": that.data.startDate.selected.length > 0 ? Date.parse(new Date(that.data.startDate.selected)) / 1000 : this.data.taxInfo.join_date, 1386 // "join_date": that.data.startDate.selected.length > 0 ? Date.parse(new Date(that.data.startDate.selected)) / 1000 : this.data.taxInfo.join_date,
1377 // "separate_date": that.data.endDate.selected.length > 0 ? Date.parse(new Date(that.data.endDate.selected)) / 1000 : this.data.taxInfo.separate_date, 1387 // "separate_date": that.data.endDate.selected.length > 0 ? Date.parse(new Date(that.data.endDate.selected)) / 1000 : this.data.taxInfo.separate_date,
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text> 29 <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text>
30 <view> 30 <view>
31 <image wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}"></image> 31 <image wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}"></image>
32 - <input class='input_wrap' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" placeholder="请输入证照号码" value="{{card_number}}" name='id_card_no' maxlength='30' bindblur='idcardblur' bindinput = 'bindinputcardnum' type="{{isIdCard.length?'idcard':''}}"></input> 32 + <input class='input_wrap' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" placeholder="请输入证照号码" value="{{card_number}}" name='id_card_no' maxlength='30' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
33 <!-- <input class='input_wrap' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value='{{card_number}}' name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input> 33 <!-- <input class='input_wrap' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value='{{card_number}}' name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
34 <input class='input_wrap' hidden="{{taxInfo.certification_status!='active'}}" placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> --> 34 <input class='input_wrap' hidden="{{taxInfo.certification_status!='active'}}" placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> -->
35 <view class="divide_line_30"></view> 35 <view class="divide_line_30"></view>
注册登录 后发表评论