正在显示
4 个修改的文件
包含
12 行增加
和
4 行删除
| @@ -136,6 +136,7 @@ Page({ | @@ -136,6 +136,7 @@ Page({ | ||
| 136 | onChange: 'onPickerSelect' | 136 | onChange: 'onPickerSelect' |
| 137 | }, | 137 | }, |
| 138 | employeeInfo: { | 138 | employeeInfo: { |
| 139 | + isrequre: true, | ||
| 139 | label: '是否雇员', | 140 | label: '是否雇员', |
| 140 | bindtype: 'employee', | 141 | bindtype: 'employee', |
| 141 | selected: '', | 142 | selected: '', |
| @@ -668,6 +669,9 @@ Page({ | @@ -668,6 +669,9 @@ Page({ | ||
| 668 | } else if (this.data.specificIndustryInfo.selected.length < 1) { | 669 | } else if (this.data.specificIndustryInfo.selected.length < 1) { |
| 669 | this.showtoast('有必填项未填写'); | 670 | this.showtoast('有必填项未填写'); |
| 670 | return | 671 | return |
| 672 | + } else if (this.data.employeeInfo.selected.length < 1) { | ||
| 673 | + this.showtoast('有必填项未填写'); | ||
| 674 | + return | ||
| 671 | } else if (formdata.email && formdata.email.length > 0 && !regEmail.test(formdata.email)) { | 675 | } else if (formdata.email && formdata.email.length > 0 && !regEmail.test(formdata.email)) { |
| 672 | this.showtoast('请输入正确邮箱'); | 676 | this.showtoast('请输入正确邮箱'); |
| 673 | return | 677 | return |
| @@ -283,14 +283,14 @@ | @@ -283,14 +283,14 @@ | ||
| 283 | <text class='text_333_28 float_right'></text> | 283 | <text class='text_333_28 float_right'></text> |
| 284 | </view> --> | 284 | </view> --> |
| 285 | <template is="picker_cell_normal" data="{{...specificIndustryInfo}}" /> | 285 | <template is="picker_cell_normal" data="{{...specificIndustryInfo}}" /> |
| 286 | - <view hidden='{{!isshow03}}'> | ||
| 287 | - <view class="divide_line"></view> | 286 | + <view class="divide_line"></view> |
| 288 | <!-- <view class='item_body'> | 287 | <!-- <view class='item_body'> |
| 289 | <text class='text_666_28 float_left'>是否雇员</text> | 288 | <text class='text_666_28 float_left'>是否雇员</text> |
| 290 | <image class='arrow_wrap' src='/images/arrow_right.png'></image> | 289 | <image class='arrow_wrap' src='/images/arrow_right.png'></image> |
| 291 | <text class='text_333_28 float_right'></text> | 290 | <text class='text_333_28 float_right'></text> |
| 292 | </view> --> | 291 | </view> --> |
| 293 | <template is="picker_cell_normal" data="{{...employeeInfo}}" /> | 292 | <template is="picker_cell_normal" data="{{...employeeInfo}}" /> |
| 293 | + <view hidden='{{!isshow03}}'> | ||
| 294 | <view class="divide_line"></view> | 294 | <view class="divide_line"></view> |
| 295 | <view class='item_body'> | 295 | <view class='item_body'> |
| 296 | <text class='text_666_28 float_left'>公司股本总额</text> | 296 | <text class='text_666_28 float_left'>公司股本总额</text> |
| @@ -148,6 +148,7 @@ Page({ | @@ -148,6 +148,7 @@ Page({ | ||
| 148 | onChange: 'onPickerSelect' | 148 | onChange: 'onPickerSelect' |
| 149 | }, | 149 | }, |
| 150 | employeeInfo: { | 150 | employeeInfo: { |
| 151 | + isrequre: true, | ||
| 151 | label: '是否雇员', | 152 | label: '是否雇员', |
| 152 | bindtype: 'employee', | 153 | bindtype: 'employee', |
| 153 | placeholder: '请选择是否雇员', | 154 | placeholder: '请选择是否雇员', |
| @@ -874,6 +875,9 @@ Page({ | @@ -874,6 +875,9 @@ Page({ | ||
| 874 | } else if (this.data.specificIndustryInfo.selected.length < 1) { | 875 | } else if (this.data.specificIndustryInfo.selected.length < 1) { |
| 875 | this.showtoast('有必填项未填写'); | 876 | this.showtoast('有必填项未填写'); |
| 876 | return | 877 | return |
| 878 | + } else if (this.data.employeeInfo.selected.length < 1) { | ||
| 879 | + this.showtoast('有必填项未填写'); | ||
| 880 | + return | ||
| 877 | } else if (formdata.email && formdata.email.length > 0 && !regEmail.test(formdata.email)) { | 881 | } else if (formdata.email && formdata.email.length > 0 && !regEmail.test(formdata.email)) { |
| 878 | this.showtoast('请输入正确邮箱'); | 882 | this.showtoast('请输入正确邮箱'); |
| 879 | return | 883 | return |
| @@ -297,13 +297,13 @@ | @@ -297,13 +297,13 @@ | ||
| 297 | </view> --> | 297 | </view> --> |
| 298 | <template is="picker_cell_normal" data="{{...specificIndustryInfo}}" /> | 298 | <template is="picker_cell_normal" data="{{...specificIndustryInfo}}" /> |
| 299 | <view class="divide_line"></view> | 299 | <view class="divide_line"></view> |
| 300 | - <view hidden='{{!isshow03}}'> | ||
| 301 | - <!-- <view class='item_body '> | 300 | + <!-- <view class='item_body '> |
| 302 | <text class='text_666_28 float_left '>是否雇员</text> | 301 | <text class='text_666_28 float_left '>是否雇员</text> |
| 303 | <image class='arrow_wrap ' src='/images/arrow_right.png '></image> | 302 | <image class='arrow_wrap ' src='/images/arrow_right.png '></image> |
| 304 | <text class='text_333_28 float_right '></text> | 303 | <text class='text_333_28 float_right '></text> |
| 305 | </view> --> | 304 | </view> --> |
| 306 | <template is="picker_cell_normal" data="{{...employeeInfo}}" /> | 305 | <template is="picker_cell_normal" data="{{...employeeInfo}}" /> |
| 306 | + <view hidden='{{!isshow03}}'> | ||
| 307 | <view class="divide_line"></view> | 307 | <view class="divide_line"></view> |
| 308 | <view class='item_body '> | 308 | <view class='item_body '> |
| 309 | <text class='text_666_28 float_left'>公司股本总额</text> | 309 | <text class='text_666_28 float_left'>公司股本总额</text> |
请
注册
或
登录
后发表评论