提交 5cd920f947b8eb3b4cf697dfa7f730eac3c6058b

作者 pangy
1 个父辈 095c3847

出租方 非必填

@@ -232,11 +232,11 @@ Page({ @@ -232,11 +232,11 @@ Page({
232 }, 232 },
233 cardtypeData: { 233 cardtypeData: {
234 label: '证照类型', 234 label: '证照类型',
235 - isrequre: true, 235 + // isrequre: true,
236 bindtype: 'ownercardtype', 236 bindtype: 'ownercardtype',
237 selected: '', 237 selected: '',
238 // disabled: true, 238 // disabled: true,
239 - isblack: 'true', 239 + // isblack: 'true',
240 placeholder: '证照类型', 240 placeholder: '证照类型',
241 values: cardTypeArray, 241 values: cardTypeArray,
242 //["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照','外国护照', '香港永久性居民身份证', '澳门特别行政区永久性居民身份证', '台湾身份证', '台湾居民来往大陆通行证', '外国人永久居留证'], 242 //["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照','外国护照', '香港永久性居民身份证', '澳门特别行政区永久性居民身份证', '台湾身份证', '台湾居民来往大陆通行证', '外国人永久居留证'],
@@ -1810,23 +1810,23 @@ Page({ @@ -1810,23 +1810,23 @@ Page({
1810 this.showToast('请选择出租方类型') 1810 this.showToast('请选择出租方类型')
1811 return 1811 return
1812 } else if (!formdata.owner_name || formdata.owner_name.length < 1) { 1812 } else if (!formdata.owner_name || formdata.owner_name.length < 1) {
1813 - this.showToast('请填写出租方名称')  
1814 - return 1813 + // this.showToast('请填写出租方名称')
  1814 + // return
1815 } 1815 }
1816 if (this.data.leasetypeData.selected =='组织'){ 1816 if (this.data.leasetypeData.selected =='组织'){
1817 if (!formdata.owner_credit_no || formdata.owner_credit_no.length < 1) { 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 newdata.owner_id_card_no = '' 1821 newdata.owner_id_card_no = ''
1822 } else{ 1822 } else{
1823 if (this.data.cardtypeData.selected.length < 1) { 1823 if (this.data.cardtypeData.selected.length < 1) {
1824 - this.showToast('请选择证照类型')  
1825 - return 1824 + // this.showToast('请选择证照类型')
  1825 + // return
1826 } 1826 }
1827 if (!formdata.owner_id_card_no || formdata.owner_id_card_no.length < 1) { 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 } else if (this.data.isIdCard_owner && !format.isIDCardNum(formdata.owner_id_card_no)) { 1830 } else if (this.data.isIdCard_owner && !format.isIDCardNum(formdata.owner_id_card_no)) {
1831 this.showToast('身份证格式有误') 1831 this.showToast('身份证格式有误')
1832 return 1832 return
@@ -291,22 +291,22 @@ @@ -291,22 +291,22 @@
291 <template is="picker_cell_normal" data="{{...leasetypeData}}" /> 291 <template is="picker_cell_normal" data="{{...leasetypeData}}" />
292 <view class='divide_line_30'></view> 292 <view class='divide_line_30'></view>
293 <view style='height:90rpx'> 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 <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> 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 </view> 297 </view>
298 <view class='divide_line_30' hidden="{{leasetypeData.selected == '个人'}}"></view> 298 <view class='divide_line_30' hidden="{{leasetypeData.selected == '个人'}}"></view>
299 <view style='height:90rpx' hidden="{{leasetypeData.selected == '个人'}}"> 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 <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> 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 </view> 303 </view>
304 <view class='divide_line_30' hidden="{{leasetypeData.selected == '组织'}}"></view> 304 <view class='divide_line_30' hidden="{{leasetypeData.selected == '组织'}}"></view>
305 <template is="picker_cell_normal" data="{{...cardtypeData}}"/> 305 <template is="picker_cell_normal" data="{{...cardtypeData}}"/>
306 <view class='divide_line_30' hidden="{{leasetypeData.selected == '组织'}}"></view> 306 <view class='divide_line_30' hidden="{{leasetypeData.selected == '组织'}}"></view>
307 <view style='height:90rpx' hidden="{{leasetypeData.selected == '组织'}}"> 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 <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' type='idcard' name='owner_id_card_no' value='{{owner_id_card_no}}' bindinput="idChange" bindblur="idDone" id='owner_id_card_no_input'></input>
注册登录 后发表评论