<view class="head">
  <view class="count">工具列表</view>
  <view class="expand">
    <view wx:if="{{isAdd}}" class="but stepper">
      借用
      <van-stepper custom-class='ste' integer value="{{ toolcount }}" bind:blur="stepperChange" bind:plus="stepperChange" bind:minus="stepperChange" input-class='back' plus-class='back' minus-class='back' />套
    </view>
    <picker wx:if="{{!disabled && list.length!=0}}" mode="date" bindchange='dateChange'>
      <navigator url="#" class="but">
        <van-icon name="clock-o" />
      </navigator>
    </picker>
    <navigator wx:if="{{!disabled && !isAdd}}" url="#" class="but" bindtap="addProduct">
      <van-icon name="plus" />
    </navigator>
  </view>
</view>

<List list='{{list}}' disabled='{{disabled}}' isAdd='{{isAdd}}' bindchangeProduct='changeProduct' binddeleteItem="deleteItem" />