You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
2.3 KiB
39 lines
2.3 KiB
<!--xtends//statics/index/index.wxml-->
|
|
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">毛利报表</view>
|
|
</cu-custom>
|
|
|
|
<view class="bg-white flex flex-justify van-hairline--bottom" style="height:80rpx;padding: 0rpx 32rpx" bindtap="showCalendar">
|
|
<view class="flex flex-center" bindtap="showCalendar">
|
|
<view style="height:24rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></view>
|
|
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">收支统计</view>
|
|
</view>
|
|
<view class="flex flex-center" style="padding: 2rpx 0rpx">
|
|
<view class="text-black text-df" style="margin-right:8rpx">{{vdateString}}</view>
|
|
<van-icon name="{{show ? 'arrow-up' : 'arrow-down'}}" />
|
|
</view>
|
|
</view>
|
|
<view class="bg-white flex" style="height:120rpx;padding-top:24rpx;">
|
|
<view style="width:320rpx;padding-left:48rpx">
|
|
<view class="text-xxl text-bold" style="color:#008AFF">{{formate.numberFormat(reportInfo.totalSalesPrice || 0)}}</view>
|
|
<view class="text-black text-sm">总支出(元)</view>
|
|
</view>
|
|
<view style="width:300rpx;">
|
|
<view class="text-xxl text-bold" style="color:#008AFF">{{formate.numberFormat(reportInfo.totalReceiptPrice || 0)}}</view>
|
|
<view class="text-black text-sm">总收入(元)</view>
|
|
</view>
|
|
</view>
|
|
<view class="bg-white flex" style="height:120rpx;padding-top:8rpx">
|
|
<view style="width:320rpx;padding-left:48rpx">
|
|
<view class="text-xxl text-bold" style="color:#008AFF">{{formate.numberFormat(reportInfo.totalGrossProfit || 0)}}</view>
|
|
<view class="text-black text-sm">总毛利(元)</view>
|
|
</view>
|
|
<view style="width:300rpx;">
|
|
</view>
|
|
</view>
|
|
<!-- <van-table columns="{{columns}}" height="{{height}}" data="{{data}}"></van-table> -->
|
|
<van-table headers="{{columns}}" data="{{ reportInfo.productGrossProfitReportList }}" height="{{ height }}" stripe="{{ true }}"/>
|
|
|
|
<van-calendar show="{{ show }}" type="range" row-height="50" color="#008AFF" z-index="22" min-date="{{ minDate }}" max-date="{{ maxDate }}" default-date="{{ vdate }}" title="日期范围选择" show-subtitle="{{ false }}" show-confirm="{{ false }}" bind:close="onClose" bind:confirm="onSelect"/>
|
|
<notification id="qn-notification"/>
|