首页消息,首页来款项目,工作组,列表详情

This commit is contained in:
姚亚男
2021-10-13 19:05:42 +08:00
parent 7c69da53d3
commit 4a0dd996b6
16 changed files with 455 additions and 244 deletions
+30 -5
View File
@@ -1,19 +1,44 @@
<!--pages/meeting/meeting.wxml首页会议活动-->
<view class="select-list">
<view class="select-item" bindtap="changeTab" data-index="{{index}}" wx:for="{{selects}}" wx:for-item="select" wx:key="tabIndex">
<!-- <view class="select-item" bindtap="changeTab" data-index="{{index}}" wx:for="{{selects}}" wx:for-item="select" wx:key="tabIndex">
<text>{{select.select}}</text>
<image wx:if="{{!select.active}}" src="../../assets/images/toTop.png"></image>
<image wx:if="{{select.active}}" src="../../assets/images/toBottom.png"></image>
</view> -->
<!-- 发票 -->
<view class="select-item">
<picker bindchange="bindNeedInvoiceChange" value="{{searchParams.needInvoice}}" range="{{['是','否']}}">
<view class="picker">
<text>发票{{searchParams.needInvoice == '' ? '' : searchParams.needInvoice == 1 ? ' :是' : ' :否'}}</text>
</view>
</picker>
</view>
<!-- 打包 -->
<view class="select-item">
<picker bindchange="bindPackChange" value="{{searchParams.pack}}" range="{{['是','否']}}">
<view class="picker">
<text>打包{{searchParams.pack == '' ? '' : searchParams.pack == 1 ? ' :是' : ' :否'}}</text>
</view>
</picker>
</view>
<!-- 年份 -->
<view class="select-item">
<picker mode="date" fields="year" value="{{searchParams.year}}" start="2021" end="2030" bindchange="bindDateChange">
<view class="picker">
<text wx:if="{{!searchParams.year}}">时间</text>
<text wx:if="{{searchParams.year}}">时间:{{searchParams.year}}年</text>
</view>
</picker>
</view>
</view>
<view class="list">
<view class="list-item" wx:for="{{list}}" bindtap="projectDetail" wx:key="item">
<view class="list-item" wx:for="{{list}}" bindtap="projectDetail" wx:key="item" data-project="{{item}}">
<view class="title">
<text>{{item.chargeUse_dictText}}</text>
<text>{{item.chargeProject}}</text>
<text>{{item.year}}年</text>
</view>
<view class="content-text">
<text class="all">{{item.needInvoice === 0 ? '不需要发票' : '需要发票'}}</text>
<text class="{{item.needInvoice === 0 ? '' : 'all'}}">{{item.needInvoice === 0 ? '不需要发票' : '需要发票'}}</text>
<text class="{{item.inAccount === 0 ? '' : item.inAccount === 2 ? 'half' : 'all'}}">到账</text>
<text class="{{item.makeInvoice === 0 ? '' : item.makeInvoice === 2 ? 'half' : 'all'}}">开票</text>
<text class="{{item.mail === 0 ? '' : item.mail === 2 ? 'half' : 'all'}}">邮寄</text>
@@ -24,4 +49,4 @@
<text>暂无数据</text>
</view>
<popup visible="{{visible}}" bindclose="close" outClickCanClose="true" bindok="ok" data="{{data}}"></popup>
<dateMonth visible="{{visibleDate}}" mode="year" bindok="dateOk"></dateMonth>
<dateMonth visible="{{visibleDate}}" mode="year" outClickCanClose="true" bindok="dateOk" bindclose="close"></dateMonth>