提交 65a7c6dbb2ddf978bed5bd2051bf900009d80dbd

作者 wangyu
1 个父辈 c4f75bc0

my first commit

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