纸通宝SAAS仓库
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.
 

47 lines
2.6 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:#278CC8">{{formate.formateWeight(reportInfo.totalOutboundDeliveryNetWeight || 0)}}</view>
<view class="text-black text-sm">出货重量(吨)</view>
</view>
<view style="width:300rpx;">
<view class="text-xxl text-bold" style="color:#278CC8">{{formate.formateWeight(reportInfo.totalSettlePrice || 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:#278CC8">{{reportInfo.carNumber || 0}}</view>
<view class="text-black text-sm">出货车数(车)</view>
</view>
<view style="width:300rpx;">
<view class="text-xxl text-bold" style="color:#278CC8">{{formate.formateWeight(reportInfo.totalSettlePrice || 0)}}</view>
<view class="text-black text-sm">金额(元)</view>
</view>
</view>
<view class="bg-white" style="height:80rpx;">
<van-tabs type="card" color="#008AFF" bind:change="onTabChange">
<van-tab title="金额"></van-tab>
<van-tab title="重量差异"></van-tab>
<van-tab title="平均扣点"></van-tab>
</van-tabs>
</view>
<van-table headers="{{columns}}" data="{{ reportInfo.productSalesDailyReportList }}" 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"/>