<view class='list'>
  <text>企业名称</text>
  <view>
    <input value="{{ comName }}" placeholder="请填写所在企业的名称" maxlength='50' bindchange="changeComName" />
  </view>
</view>
<view class='list'>
  <text>工作岗位</text>
  <view>
    <input value="{{ jobName }}" placeholder="请填写工作岗位" maxlength='50' bindchange="changeJobName" />
  </view>
</view>
<view class='list'>
  <text>入职时间</text>
  <view>
    <picker bindchange="startDateChange" mode="date" value="{{startDate}}" fields="month" start="2015-09" end="{{startDateEnd}}">
      {{startDate}}
    </picker>
  </view>
</view>
<view class='list'>
  <text>离职时间</text>
  <view bindtap="showEndDate" class="endDate">
  {{endDate}}
    <!-- <picker bindchange="endDateChange" mode="date" value="{{endDate}}" fields="month" start="2015-09" end="{{endTime}}">
    </picker> -->
  </view>
</view>


<form bindsubmit="submit" report-submit='true' class="btn-group fixed-footer">
  <button class="distance selfBtn" form-type="submit">保存</button>
</form>
<view class="pick-view" bindtap="endDateCancel" hidden="{{pick_view}}">
  <view class="pick-view-header">
    <view style="color:#8e8e8e;" catchtap="endDateCancel">取消</view>
    <view style="color:#47b841" catchtap="endDateSure">确定</view>
  </view>
  <picker-view class="show-pick" style="width: 750rpx; height: 300px;" value="{{end_time}}" indicator-style="height: 50px;" style="width: 100%; height: 300px;position:absolute;bottom: 0;left: 0;background: #fff;" indicator-class='indicator-class' catchchange="endDateChange" bindpickend='touchEnd' bindpickstart='touchStart' catchtap="endDateTap">
    <picker-view-column style='background: #fff;'>
      <view wx:for="{{years}}" wx:key='index' style="line-height: 50px;text-align: center;background: #fff;">{{item}}</view>
    </picker-view-column>
    <picker-view-column>
      <view wx:for="{{months}}" wx:key='index' style="line-height: 50px;text-align: center;background: #fff;">{{item}}月</view>
    </picker-view-column>
  </picker-view>
</view>