<!--pages/electricQuery/components/accountingCard/index.wxml-->
<view class="wrapper">
    <view class="title">
        <span>{{data.meter.address}}</span>
        <span style="font-size: 30rpx; margin-left: 100rpx;">电表编号：{{data.meter.sn}}</span>
    </view>
    <van-row>
        <view class="table-header" style="border-bottom: 2rpx solid #000; ">
            <view class="table-header-row">
                <text class="table-header-cell">类目</text>
                <text class="table-header-cell">金额</text>
                <text class="table-header-cell">更新时间</text>
            </view>
        </view>
    </van-row>

    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
        <van-row>
            <van-col span="7">
                <view class="tableTitle"> 初始余额 </view>
            </van-col>
            <van-col span="10">
                <view class="tableContent"> {{data.startMoney}} </view>
            </van-col>
            <van-col span="7">
                <view calss="tableContent"> {{data.updateStartMoneyAt || '--'}} </view>
            </van-col>
        </van-row>
    </view>

    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
        <van-row>
            <van-col span="7">
                <view class="tableTitle"> 累计充值金额 </view>
            </van-col>
            <van-col span="10">
                <view class="tableContent"> {{data.rechargeMoney}} </view>
            </van-col>
            <van-col span="7">
                <view calss="tableContent"> {{data.updateRechargeMoneyAt || '--'}} </view>
            </van-col>
        </van-row>
    </view>

    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
        <van-row>
            <van-col span="7">
                <view class="tableTitle"> 电费 </view>
            </van-col>
            <van-col span="10">
                <view class="tableContent"> {{data.electricMoney}} </view>
            </van-col>
            <van-col span="7">
                <view calss="tableContent"> {{data.updateElectricMoneyAt  || '--'}} </view>
            </van-col>
        </van-row>
    </view>

    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
        <van-row>
            <van-col span="7">
                <view class="tableTitle"> 账务余额 </view>
            </van-col>
            <van-col span="10">
                <view class="tableContent"> {{data.accountMoney}} </view>
            </van-col>
            <van-col span="7">
                <view calss="tableContent"> {{data.updateAccountMoneyAt  || '--'}} </view>
            </van-col>
        </van-row>
    </view>

    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
        <van-row>
            <van-col span="7">
                <view class="tableTitle"> 电表余额 </view>
            </van-col>
            <van-col span="10">
                <view class="tableContent"> {{data.meterMoney}} </view>
            </van-col>
            <van-col span="7">
                <view calss="tableContent"> {{data.updateMeterMoneyAt  || '--'}} </view>
            </van-col>
        </van-row>
    </view>
</view>