row.wxml 1.1 KB

123456789101112131415161718192021
  1. <van-search value="{{ content.where.condition }}" shape="round" background="#fff" placeholder="{{language['请输入关键字']||'请输入关键字'}}" bind:search='startSearch' bind:clear='onClear' />
  2. <view class="total" style="height: 20rpx;" />
  3. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  4. <view class="item" wx:for="{{list}}" wx:key="index">
  5. <item item='{{item}}' isDelete='{{disabled}}' bind:onDelete='deleteItem' />
  6. <view class="bottom">
  7. <view class="row">
  8. <view class="label">
  9. {{language['计划出货日期']||'计划出货日期'}}:
  10. </view>
  11. <picker disabled="{{!disabled || unoutamount==0}}" mode="date" start="{{periodstart}}" end="{{periodend}}" value='{{item.plandeliverydate}}' data-index="{{index}}" bind:change='pickerOnChange'>
  12. <view class="value">
  13. {{item.plandeliverydate}}
  14. </view>
  15. </picker>
  16. </view>
  17. </view>
  18. </view>
  19. <My_empty wx:if="{{list.length==0}}" />
  20. </Yl_ListBox>
  21. <Yl_FloatingButton wx:if="{{disabled}}" bindtap="toAdd" />