54 lines
2.1 KiB
Plaintext
54 lines
2.1 KiB
Plaintext
<!-- 自定义头部start -->
|
|
<view class="custom flex_center" style="padding-top:{{statusBarHeight}}px">
|
|
<image src="../../assets/images/back.png" bindtap="goBack"></image>
|
|
<text>项目</text>
|
|
</view>
|
|
<view class="empty_custom" style="padding-top:{{statusBarHeight}}px"></view><!-- 空view用来填充自定义头部的padding-top -->
|
|
<!-- 自定义头部end -->
|
|
<!--pages/meeting/meeting.wxml首页会议活动-->
|
|
<view class="select-list">
|
|
<!-- 发票 -->
|
|
<view class="select-item">
|
|
<picker bindchange="bindNeedInvoiceChange" range="{{['是','否']}}">
|
|
<view class="picker">
|
|
<text>发票</text>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<!-- 打包 -->
|
|
<view class="select-item">
|
|
<picker bindchange="bindPackChange" range="{{['是','否']}}">
|
|
<view class="picker">
|
|
<text>打包</text>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<!-- 年份 -->
|
|
<view class="select-item">
|
|
<picker mode="date" fields="year" start="2000" end="2050" bindchange="bindDateChange">
|
|
<view class="picker">
|
|
<text>时间</text>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="list">
|
|
<view class="list-item" wx:for="{{list}}" bindtap="projectDetail" wx:key="item" data-project="{{item}}">
|
|
<view class="title">
|
|
<text>{{item.chargeProject || item.projectName}}</text>
|
|
<text>{{item.year || item.particularYear}}年</text>
|
|
</view>
|
|
<view class="content-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 ? '' : 'all'}}">邮寄</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{list.length === 0}}" class="no-data">
|
|
<text>暂无数据</text>
|
|
</view>
|
|
<popup visible="{{visible}}" bindclose="close" outClickCanClose="true" bindok="ok" data="{{data}}"></popup>
|
|
<dateMonth visible="{{visibleDate}}" mode="year" outClickCanClose="true" bindok="dateOk" bindclose="close"></dateMonth>
|