<van-search use-action-slot placeholder='请输入搜索关键词' shape='round' bind:search="onSearch" bind:clear="onSearch" />
<view class="head">
    <picker mode="date" value="{{content.where.begindate}}" data-name="begindate" bindchange='changeDate'>{{content.where.begindate||'开始日期'}}</picker>
    <text>-</text>
    <picker mode="date" value="{{content.where.enddate}}" data-name="enddate" bindchange='changeDate'>{{content.where.enddate||'结束日期'}}</picker>
    <text wx:if="{{content.where.begindate||content.where.enddate}}" style="color:var( --assist);" bindtap="initialize">重置</text>
</view>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <Yl_Empty wx:if="{{list.length==0}}" />
    <view class="item" wx:for="{{list}}" wx:key="sa_orderitemsid">
        <view class="title">
            {{item.type+' '+item.sonum}}
        </view>
        <view>
            单据日期：{{item.billdate}}
        </view>
        <view>
            产品名称：{{item.itemname||" --"}}
        </view>
        <view>
            产品编码：{{item.itemno||" --"}}
        </view>
        <view>
            行号：{{item.rowno}}
        </view>
        <view>
            数量：{{item.qty ||"0"}}({{item.unit}})
        </view>
        <view>
            未发货数量：{{item.undeliqty||"0"}}({{item.unit}})
        </view>
        <view>
            备注：{{item.remarks||" --"}}
        </view>
    </view>
    <view style="height:150rpx;" />
</Yl_ListBox>