| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <van-search class="search" value="{{ params.content.where.condition }}" shape="round" placeholder="请输入搜索关键词" bind:search='startSearch' bind:clear='onClear' />
- <view class="total">共{{params.content.total}}个</view>
- <Yl_ListBox id='ListBox' bind:getlist='getList'>
- <navigator class="offer-list" url="#" wx:for="{{list}}" wx:key="billno" data-id="{{item[idname]}}" bindtap="changeResult">
- <van-checkbox wx:if="{{!radio}}" value="{{ handle.isCheck(item[idname],result) }}" shape="square" icon-size='28rpx' />
- <view class="box">
- <view class="title">
- <text class="line-1">单号:{{item.billno}}</text>
- </view>
- <view class="tag-box">
- <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
- <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
- </view>
- <view class="exp line-1">客户:<text>{{item.enterprisename||" --"}}</text></view>
- <view class="exp line-1">审核日期:<text>{{item.checkdate}}</text></view>
- <view class="exp line-1">特价:<text>{{item.specialoffer==1?'是':'否'}}</text></view>
- <view class="exp line-1">负责人:<text>{{item.leader[0].name||' --'}}</text></view>
- </view>
- </navigator>
- <view style="height: 230rpx;" />
- <My_empty wx:if="{{!list.length}}" />
- </Yl_ListBox>
- <block wx:if="{{!radio}}">
- <view style="height: 130rpx;" />
- <view class="footer">
- <view class="count">
- 已选:{{result.length}}
- </view>
- <van-button custom-class='but' disabled='{{result.length==0}}' bind:click="submit">确定</van-button>
- </view>
- </block>
- <wxs module="handle">
- module.exports = {
- isCheck: function (id, list) {
- return list.some(function (v) {
- return v == id
- });
- },
- }
- </wxs>
|