| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <van-search class="search" value="{{ params.content.where.condition }}" shape="round" placeholder="请输入搜索关键词" bind:search='startSearch' use-action-slot bind:clear='onClear'>
- <view slot='action' class="action" catchtap="openFiltrate">
- <text class="iconfont icon-shaixuan" />筛选
- </view>
- </van-search>
- <view class="div" style="height: 20rpx;" />
- <Yl_ListBox id='ListBox' bind:getlist='getList'>
- <navigator class="setclient-list-item" url="#" wx:for="{{list}}" wx:key="{{idname}}" data-id="{{item[idname]}}" bindtap="changeResult">
- <view class="con">
- <van-checkbox wx:if="{{!radio}}" value="{{ handle.isCheck(item[idname],result) }}" shape="square" icon-size='28rpx' />
- <view class="mian">
- <view class="title">
- <text class="projecttype" style="background-color: #3874F6;" wx:if="{{item.type}}">{{item.type}}</text>
- <text class="tradefield" style="background-color: #5AB73F;" wx:if="{{item.tradefield}}">{{item.tradefield}}</text>
- <view class="line-1">
- {{item.sonum}}
- </view>
- </view>
- <view class="row" style="margin-top: 16rpx;">
- <view class="left">
- 部门:{{item.depname||' --'}}
- </view>
- <view class="right">
- 业务员:{{item.name||' --'}}
- </view>
- </view>
- <view class="row" style="margin-top: 16rpx;">
- <view class="left">
- 项目名称:{{item.projectname||' --'}}
- </view>
- <view class="right">
- 客户:{{item.enterprisename||' --'}}
- </view>
- </view>
- <view class="row" style="margin-top: 8rpx;">
- <view class="left">
- 总金额:{{item.defaultamount||' --'}}
- </view>
- <view class="right">
- 折后金额:{{item.amount||' --'}}
- </view>
- </view>
- <view class="row" style="margin-top: 8rpx;">
- 备注:{{item.remarks||' --'}}
- </view>
- </view>
- </view>
- </navigator>
- <view style="height: 150rpx;" />
- <My_empty wx:if="{{!list.length}}" text='{{aitText}}' />
- </Yl_ListBox>
- <view style="height: 130rpx;" />
- <block wx:if="{{!radio}}">
- <view class="footer">
- <view class="count">
- 已选:{{result.length}}
- </view>
- <van-button custom-class='but' disabled='{{result.length==0}}' bind:click="submit">确定</van-button>
- </view>
- <wxs module="handle">
- module.exports = {
- isCheck: function (id, list) {
- return list.some(function (v) {
- return v == id
- });
- },
- }
- </wxs>
- </block>
- <Yl_Filtrate1 show='{{showFiltrate}}' list='{{filtratelist}}' bindhandle="handleFilter" />
|