| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <van-search value="{{ params.content.where.condition }}" shape='round' placeholder="请输入搜索关键词" use-action-slot bind:clear='onClear' bind:search="startSearch">
- </van-search>
- <view class="global-total">总共{{params.content.total}}个</view>
- <Yl_ListBox id='ListBox' bind:getlist='getList'>
- <navigator url="#" class="project-item global-card" wx:for="{{list}}" data-id="{{item.sa_contractid}}" bind:tap="changeResult" wx:key="sa_contractid">
- <view class="label">
- <view class="title line-1">{{item.billno}}</view>
- <view class="state" style="background-color: {{sColors[item.status]}}">{{item.status}}</view>
- </view>
- <view class="tag-box">
- <view class="systemtag" wx:for="{{item.tag_sys}}" wx:key="item">{{language[item]||item}}</view>
- <view class="datatag" wx:for="{{item.tag}}" wx:key="item">{{language[item]||item}}</view>
- </view>
- <view class="replenish">
- <text style="color: #666;">医院:</text>
- <text>{{item.hospitalname || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">经销商:</text>
- <text>{{item.agentname || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">合同类型:</text>
- <text>{{item.type || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">有效期:</text>
- <text>{{item.begdate + '-' +item.enddate}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">签约日期:</text>
- <text>{{item.signdate || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">负责人:</text>
- <text>{{item.leader.length? item.leader[0].name : ' --'}}</text>
- </view>
- </navigator>
- <view wx:if="{{!radio}}" style="height: 70rpx;" />
- <My_empty wx:if="{{!list.length}}" />
- </Yl_ListBox>
- <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>
|