正在显示
2 个修改的文件
包含
16 行增加
和
16 行删除
| ... | ... | @@ -232,11 +232,11 @@ Page({ |
| 232 | 232 | }, |
| 233 | 233 | cardtypeData: { |
| 234 | 234 | label: '证照类型', |
| 235 | - isrequre: true, | |
| 235 | + // isrequre: true, | |
| 236 | 236 | bindtype: 'ownercardtype', |
| 237 | 237 | selected: '', |
| 238 | 238 | // disabled: true, |
| 239 | - isblack: 'true', | |
| 239 | + // isblack: 'true', | |
| 240 | 240 | placeholder: '证照类型', |
| 241 | 241 | values: cardTypeArray, |
| 242 | 242 | //["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照','外国护照', '香港永久性居民身份证', '澳门特别行政区永久性居民身份证', '台湾身份证', '台湾居民来往大陆通行证', '外国人永久居留证'], |
| ... | ... | @@ -1810,23 +1810,23 @@ Page({ |
| 1810 | 1810 | this.showToast('请选择出租方类型') |
| 1811 | 1811 | return |
| 1812 | 1812 | } else if (!formdata.owner_name || formdata.owner_name.length < 1) { |
| 1813 | - this.showToast('请填写出租方名称') | |
| 1814 | - return | |
| 1813 | + // this.showToast('请填写出租方名称') | |
| 1814 | + // return | |
| 1815 | 1815 | } |
| 1816 | 1816 | if (this.data.leasetypeData.selected =='组织'){ |
| 1817 | 1817 | if (!formdata.owner_credit_no || formdata.owner_credit_no.length < 1) { |
| 1818 | - this.showToast('请填写统一社会信用代码') | |
| 1819 | - return | |
| 1818 | + // this.showToast('请填写统一社会信用代码') | |
| 1819 | + // return | |
| 1820 | 1820 | } |
| 1821 | 1821 | newdata.owner_id_card_no = '' |
| 1822 | 1822 | } else{ |
| 1823 | 1823 | if (this.data.cardtypeData.selected.length < 1) { |
| 1824 | - this.showToast('请选择证照类型') | |
| 1825 | - return | |
| 1824 | + // this.showToast('请选择证照类型') | |
| 1825 | + // return | |
| 1826 | 1826 | } |
| 1827 | 1827 | if (!formdata.owner_id_card_no || formdata.owner_id_card_no.length < 1) { |
| 1828 | - this.showToast('请填写证照号码') | |
| 1829 | - return | |
| 1828 | + // this.showToast('请填写证照号码') | |
| 1829 | + // return | |
| 1830 | 1830 | } else if (this.data.isIdCard_owner && !format.isIDCardNum(formdata.owner_id_card_no)) { |
| 1831 | 1831 | this.showToast('身份证格式有误') |
| 1832 | 1832 | return | ... | ... |
| ... | ... | @@ -291,22 +291,22 @@ |
| 291 | 291 | <template is="picker_cell_normal" data="{{...leasetypeData}}" /> |
| 292 | 292 | <view class='divide_line_30'></view> |
| 293 | 293 | <view style='height:90rpx'> |
| 294 | - <text class='red_star_right_10'>*</text> | |
| 295 | - <text class='text_777_30 float_left'>出租方名称</text> | |
| 294 | + <!-- <text class='red_star_right_10'>*</text> --> | |
| 295 | + <text class='text_777_30 float_left head_in'>出租方名称</text> | |
| 296 | 296 | <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入出租方名称' name='owner_name' value='{{owner_name}}'></input> |
| 297 | 297 | </view> |
| 298 | 298 | <view class='divide_line_30' hidden="{{leasetypeData.selected == '个人'}}"></view> |
| 299 | 299 | <view style='height:90rpx' hidden="{{leasetypeData.selected == '个人'}}"> |
| 300 | - <text class='red_star_right_10'>*</text> | |
| 301 | - <text class='text_777_30 float_left'>统一社会信用代码</text> | |
| 300 | + <!-- <text class='red_star_right_10'>*</text> --> | |
| 301 | + <text class='text_777_30 float_left head_in'>统一社会信用代码</text> | |
| 302 | 302 | <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入统一社会信用代码' name='owner_credit_no' value='{{owner_credit_no}}'></input> |
| 303 | 303 | </view> |
| 304 | 304 | <view class='divide_line_30' hidden="{{leasetypeData.selected == '组织'}}"></view> |
| 305 | 305 | <template is="picker_cell_normal" data="{{...cardtypeData}}"/> |
| 306 | 306 | <view class='divide_line_30' hidden="{{leasetypeData.selected == '组织'}}"></view> |
| 307 | 307 | <view style='height:90rpx' hidden="{{leasetypeData.selected == '组织'}}"> |
| 308 | - <text class='red_star_right_10'>*</text> | |
| 309 | - <text class='text_777_30 float_left'>证照号码</text> | |
| 308 | + <!-- <text class='red_star_right_10'>*</text> --> | |
| 309 | + <text class='text_777_30 float_left head_in'>证照号码</text> | |
| 310 | 310 | <view> |
| 311 | 311 | <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="owner_id_card_no" hidden='{{!isIdCard_owner}}'></image> |
| 312 | 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> | ... | ... |
请
注册
或
登录
后发表评论