<!--pages/finance/detailed_incomeAndExpenditurePublic/detailed_incomeAndExpenditurePublic.wxml-->
<view class="ns"  id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">公开表</text>
</view>

<view class="home_wrapper" style="margin-top:{{isIPX?'88px':'64px'}};">
  <view class="search_info">
    <view class="date_box" bind:tap="openPick">
      <image src="/image/icon/date_icon.png"></image>
      <p>{{date}}</p>
    </view>
    <van-popup show="{{showPickerTime}}" position="bottom"> 
      <van-datetime-picker
        value="{{currentDate}}"
        type="year-month"
        title="选择年月"
        min-date="{{minDate}}"
        max-date="{{maxDate}}"
        bind:confirm="onConfirm"
        bind:cancel="closePick"
      />
    </van-popup>
    <!-- <view class="search_block">
      <image src="/image/apply/fixedAssets_icon_1.png" mode="" class="icon"/>
      <input readonly type="text" class="ipt" value="{{subjectName}}" placeholder="请选择科目查询" bind:tap="" />
      <image src="/image/apply/delete_icon_input.png" mode="" class="delete_icon" wx:if="{{subjectName}}" bind:tap="emptyInput"/>
    </view> -->
<!--      visible=true  <view class="total">共{{listLength}}个资产</view> @input="getSearch"-->
  </view>

  <view class="balance-main">
      <view class="main-title">
        <view class="company">单位:{{ bookName }}</view>
        <view class="nper">{{ accountingYear }}年{{ accountingMonth }}期</view>
        <view class="amountOf">金额:元</view>
      </view>
      <view class="main-center">
        <view class="datagrid">
          <view class="header">
            <view class="header-title income" >收入</view>
            <view class="header-title expenditure ">支出</view>
          </view>
          <view class="header">
            <view class="xmmc">日期</view>
            <view class="qj">项目</view>
            <view class="zy">金额</view>
            <view class="dfje">日期</view>
            <view class="fx">项目</view>
            <view class="ye">金额</view>
          </view>
          <view class="mok_list">
            <ul class="list">
              <li wx:for="{{pageDataList}}" wx:key="index">
                <view class="xmmc">{{ item.incomeDate == null ? '' : item.incomeDate }}</view>
                <view class="qj">{{ item.incomeSummary == null ? '' : item.incomeSummary }}</view>
                <view class="zy">{{ item.incomeAmount == null ? '' : item.incomeAmount }}</view>
                <view class="dfje">{{ item.expenditureDate == null ? '' : item.expenditureDate }}</view>
                <view class="fx">{{ item.expenditureSummary == null ? '' : item.expenditureSummary }}</view>
                <view class="ye">{{ item.expenditureAmount == null ? '' : item.expenditureAmount }}</view>
              </li>
            </ul>
          </view>
        </view>
      </view>

    </view>
</view>