<!--pages/voucherManagement/index.wxml-->
<!-- <view class="header_title">
  <view class="header_title_row">
    <van-row>
      <van-col span="3">
        <view class="header_img" bindtap="showPopup"><image src="/images/core.png"></image></view>
      </van-col>
      <van-col span="4">
        <view class="header_img" bindtap="goGCLB">
          <image src="/images/left.png"></image>
          <text class="header_fh">返回</text>
        </view>
      </van-col>
      <van-col span="10">
        <view class="header_name">凭证管理</view>
      </van-col>
    </van-row>
  </view>
</view> -->


<!-- <van-popup show="{{ show }}" position="left" custom-style="width: 70%;height:100%;background:#191d28" bind:close="onClose" >
  <view class="left_max">
    <van-row class="demo clearfix">
      <van-col span="10">
        <view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
      </van-col>
      <van-col span="14">
        <view class="left_info">
          <view class="left_info_name">{{userName}}</view>
          <view class="left_info_name">{{loginName}}</view>
        </view>
      </van-col>
    </van-row>
  </view>
</van-popup> -->

<view class="max_new_content">
  <project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>

  <view class="video_num" style="margin-top:24rpx">
    <van-row>
      <van-col span="12">
        <view class="video_icon">
          <image src="http://fileimg.makalu.cc/WEB_85C3C298686948FCBB547946729B3F2D.png"></image>
          本周上传：
          <text>{{weekCount}}</text>
          个
        </view>
      </van-col>
      <van-col span="12">
        <view class="video_icon">
          <image src="http://fileimg.makalu.cc/WEB_85C3C298686948FCBB547946729B3F2D.png"></image>
          本月上传：
          <text>{{monthCount}}</text>
          个
        </view>
      </van-col>
    </van-row>
  </view>

  <view class="modify_echarts_max">
    <view class="modify_echarts_title_min">
        <view class="modify_eharts_title">凭证列表</view> 
        <pz-screen columns="{{DeviceGroupData}}" bindscreen="screenCondition"></pz-screen>
    </view>
    
    <view class="pz_list_max">

      <view class="pz_list_for" wx:for="{{DocumentList}}" wx:key="index">
        <view class="timeline_for_title">
            <view>{{item.typeNameStr}}</view>
        </view>
        <view class="timeline_for_list pz_list_for_list">
          <view>发生时间：</view>
          <view class="timeline_for_time">{{item.createTime}}</view>
        </view>
        <view class="timeline_for_list pz_list_for_list">
          <view>上传时间：</view>
          <view class="timeline_for_time">{{item.time}}</view>
        </view>
        <view class="timeline_for_list pz_list_for_list">
          <view>备注：</view>
          <view class="timeline_for_time">{{item.remarks}}</view>
        </view>
        <view class="timeline_for_file pz_list_for_list">
            <view class="timeline_for_list_title">凭证图片：</view>
            <view class="timeline_for_list_file">
              <van-uploader file-list="{{ item.sonRul}}" show-upload="{{fales}}" deletable="{{fales}}"/>
            </view>
        </view>
      </view>
    </view>
  </view>
</view>
<view class="add_to_btn" bindtap="add">
  <image src="http://fileimg.makalu.cc/WEB_A1ECB16C8BC34DECAED9C4701AAE813F.png"></image>
  <text>新增</text>
</view>


<van-toast id="van-toast" />

<van-overlay show="{{loadShow}}">
  <view class="gif">
    <image src="../../images/loding2.gif"></image>
    <view>数据加载中！请稍后...</view>
  </view>
</van-overlay>  