<form bindsubmit='applySubmit'>

<view class='commonHview' wx:if='{{isDetails}}'>
  <view class='left_sty'>状态</view>
   <view class='right_sty'>
        <input class='input_sty'  type='text'  name='applyStatus' value='{{applyStatus}}' disabled='{{isDetails}}'></input>
    </view>
</view>
<view class='commonhline' style='height:3rpx;'></view>

<view class='commonHview'>
  <view class='left_sty'>申请时间</view>
   <view class='right_sty'>
        <input class='input_sty'  type='text'  name='applyTime' value='{{applyTime}}' disabled='true'></input>
    </view>
</view>
<view class='commonhline' style='height:3rpx;'></view>


<view class='commonHview'>
  <view class='left_sty'>申请人</view>
   <view class='right_sty'>
      <input class='input_sty'  placeholder='请输入姓名' type='text' maxlength='10' name='applyName' disabled='{{isDetails}}' value='{{applyName}}'></input>
    </view>
</view>
<view class='commonhline' style='height:3rpx;'></view>


<view class='commonHview'>
  <view class='left_sty'>申请人岗位</view>
   <view class='right_sty'>
      <input class='input_sty'  placeholder='请输入岗位' type='text' maxlength='10' name='applyJob' disabled='{{isDetails}}' value='{{applyJob}}'></input>
    </view>
</view>
<view class='commonhline' style='height:3rpx;'></view>


<view class='commonHview'>
  <view class='left_sty' style='width: 30%;'>申请标准</view>
   <view class='right_sty1' >
        <picker disabled='{{isDetails}}' bindchange="bindPickerChange" value="{{CotegoryArray[index].name}}" range="{{CotegoryArray}}" >
         <scroll-view scroll-y='true' style='height: 100rpx;'>
           <view>{{applyNorm}}</view>
        </scroll-view>
        </picker>
    </view>
    <view><image class='nextImg'src='../../img/next.png'> </image></view>
</view>
<view class='commonhline' style='height:3rpx;'></view>

<view class='commonHview'>
  <view class='left_sty'>扣分数值</view>
   <view class='right_sty' style='display: flex;flex-direction: row;'>
      <view><input class='input_sty' disabled='true' value='{{addPoints}}'  type='text' name='addPoints' ></input></view>
    </view>
</view>
<view class='commonhline' style='height:3rpx;'></view>

<view class='commonHview'>
  <view class='left_sty' style='width: 10%;'>事由</view>
  <scroll-view scroll-y='true'>
   <view class='righttextarea' >
        <textarea placeholder='请输入...' name='applyReason' maxlength='200' disabled='{{isDetails}}' value='{{applyReason}}'> </textarea>
    </view>
  </scroll-view>
    
</view>
<view class='commonhline' style='height:20rpx;' ></view>


<button wx:if='{{!isDetails}}' class='comBtn' formType="submit" hover-class="commonclick-btn">提交申请</button>
<button wx:if='{{isDetails && invoicesStatus == 1}}'class='comBtn' hover-class="commonclick-btn" bindtap='cancelApply'>撤回</button>
</form>
