<view class="head">
  <view class="count">{{language['产品明细']||'产品明细'}}</view>
  <view class="expand">
    <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}}" url="#" class="but" bindtap="addProduct">
      <van-icon name="plus" />
    </navigator>
  </view>
</view>
<List list='{{list}}' disabled='{{disabled}}' bindchangeProduct='changeProduct' binddeleteItem="deleteItem" />

<van-action-sheet show="{{ actionShow }}" actions="{{ actions }}" bind:select='selectorMode' bind:cancel='cancelSelector' bind:click-overlay='cancelSelector' z-index='999999999'cancel-text="{{language['取消']||'取消'}}" />
