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.
127 lines
7.6 KiB
127 lines
7.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" style="padding: 16rpx 24rpx">
|
|
<van-grid column-num="2" border="{{fasle}}">
|
|
<van-grid-item content-style="padding: 8rpx 0rpx" use-slot url="/xtends/statics/purchase-report/index">
|
|
<view class="flex flex-justify" style="background: #F5F9F9;border-radius: 12rpx;padding: 24rpx;width:336rpx">
|
|
<view>
|
|
<view class="text-bold text-black text-lg">收货报表</view>
|
|
<view class="text-gray text-sm" style="margin-top:8rpx">核对收货数据</view>
|
|
</view>
|
|
<van-icon slot="icon" name="/xtends/image/icon-purchase.png" size="80rpx" />
|
|
</view>
|
|
</van-grid-item>
|
|
<van-grid-item content-style="padding: 8rpx 0rpx" use-slot url="/xtends/statics/sale-report/index">
|
|
<view class="flex flex-justify" style="background: #F5F9F9;border-radius: 12rpx;padding: 24rpx;width:336rpx">
|
|
<view>
|
|
<view class="text-bold text-black text-lg">销售报表</view>
|
|
<view class="text-gray text-sm" style="margin-top:8rpx">核对销售数据</view>
|
|
</view>
|
|
<van-icon slot="icon" name="/xtends/image/icon-sale.png" size="80rpx" />
|
|
</view>
|
|
</van-grid-item>
|
|
<van-grid-item content-style="padding: 8rpx 0rpx" use-slot url="/xtends/statics/gross-report/index">
|
|
<view class="flex flex-justify" style="background: #F5F9F9;border-radius: 12rpx;padding: 24rpx;width:336rpx">
|
|
<view>
|
|
<view class="text-bold text-black text-lg">毛利报表</view>
|
|
<view class="text-gray text-sm" style="margin-top:8rpx">分析经营利润</view>
|
|
</view>
|
|
<van-icon slot="icon" name="/xtends/image/icon-gross.png" size="80rpx" />
|
|
</view>
|
|
</van-grid-item>
|
|
<van-grid-item content-style="padding: 8rpx 0rpx" use-slot url="/xtends/statics/agent-report/index">
|
|
<view class="flex flex-justify" style="background: #F5F9F9;border-radius: 12rpx;padding: 24rpx;width:336rpx">
|
|
<view>
|
|
<view class="text-bold text-black text-lg">代卖报表</view>
|
|
<view class="text-gray text-sm" style="margin-top:8rpx">核对代卖数据</view>
|
|
</view>
|
|
<van-icon slot="icon" name="/xtends/image/icon-agent.png" size="80rpx" />
|
|
</view>
|
|
</van-grid-item>
|
|
</van-grid>
|
|
</view>
|
|
|
|
<view id="form1" class="bg-white flex flex-justify van-hairline--bottom" style="height:90rpx;margin-top:24rpx" bindtap="showCalendar">
|
|
<view class="flex flex-center" style="padding: 0rpx 32rpx">
|
|
<view style="height:30rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></view>
|
|
<view class="text-black text-lg text-bold" style="margin-left: 12rpx">收货统计</view>
|
|
</view>
|
|
<view class="flex flex-center" style="padding: 2rpx 32rpx">
|
|
<view class="text-black text-df" style="margin-right:8rpx">{{vdateString1}}</view>
|
|
<van-icon name="{{show ? 'arrow-up' : 'arrow-down'}}" />
|
|
</view>
|
|
</view>
|
|
<view class="bg-white flex flex-center" style="padding: 32rpx;">
|
|
<!-- <van-circle type="2d" value="{{ 60 }}" layer-color="#007AFF" color="#FF222C" stroke-width="24" wx:if="{{!show}}"/> -->
|
|
<view class="shanxing {{((percent < 50 && percent != 0) || percent == 100) ? 'shanxing1' : 'shanxing2'}}">
|
|
<view wx:if="{{percent != 0 && percent != 100}}" class="sx1"></view>
|
|
<view wx:if="{{percent != 50 && percent != 0 && percent != 100}}" class="sx2" style="transform: rotate({{percent < 50 ? ((360 * percent / 100) - 180):(360 * (percent - 100) / 100)}}deg);"></view>
|
|
<view class="sx_t"></view>
|
|
</view>
|
|
<view class="flex" style="margin-left:24rpx;">
|
|
<view style="width:220rpx">
|
|
<view class="text-black text-sm">收货合计(吨)</view>
|
|
<view class="text-xxl" style="color:#278CC8;margin-top:8rpx">{{formate.formateWeight(reportInfo.totalSettleWeight || 0)}}</view>
|
|
<view class="flex" style="margin-top:24rpx;align-items: center">
|
|
<text style="background-image: linear-gradient(270deg, #FF222C 0%, #FF691C 100%);border-radius:50%;height:16rpx;width:16rpx"></text>
|
|
<text class="text-black text-sm" style="margin-left:12rpx">厂外收货(吨)</text>
|
|
</view>
|
|
<view class="text-black text-bold">{{formate.formateWeight(reportInfo.totalOffsiteSettleWeight || 0)}}</view>
|
|
</view>
|
|
<view style="width:220rpx">
|
|
<view class="text-black text-sm">收货总金额(元)</view>
|
|
<view class="text-xxl" style="color:#278CC8;margin-top:8rpx">{{formate.formateAmount(reportInfo.totalSettlePrice || 0)}}</view>
|
|
<view class="flex" style="margin-top:24rpx;align-items: center">
|
|
<text style="background-image: linear-gradient(90deg, #007AFF 0%, #6BCDFF 100%);border-radius:50%;height:16rpx;width:16rpx"></text>
|
|
<text class="text-black text-sm" style="margin-left:12rpx">厂内收货(吨)</text>
|
|
</view>
|
|
<view class="text-black text-bold">{{formate.formateWeight(reportInfo.totalOnsideSettleWeight || 0)}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view id="form2" class="bg-white flex flex-justify van-hairline--bottom" style="height:90rpx;margin-top:24rpx" bindtap="showCalendar">
|
|
<view class="flex flex-center" style="padding: 0rpx 32rpx">
|
|
<view style="height:30rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></view>
|
|
<view class="text-black text-lg text-bold" style="margin-left: 12rpx">销售统计</view>
|
|
</view>
|
|
<view class="flex flex-center" style="padding: 2rpx 32rpx">
|
|
<view class="text-black text-df" style="margin-right:8rpx">{{vdateString2}}</view>
|
|
<van-icon name="{{show ? 'arrow-up' : 'arrow-down'}}" />
|
|
</view>
|
|
</view>
|
|
<view class="bg-white flex flex-center">
|
|
<view class="flex flex-center flex-column" style="flex:1;padding:32rpx">
|
|
<view class="text-xxl text-bold" style="color:#278CC8">{{formate.numberFormat(saleReportInfo.totalOutboundDeliveryNetWeight || 0)}}</view>
|
|
<view class="text-black text-sm">总出货重量(吨)</view>
|
|
</view>
|
|
<view class="van-hairline--left" style="height:100rpx"></view>
|
|
<view class="flex flex-center flex-column" style="flex:1;padding:32rpx;">
|
|
<view class="text-xxl text-bold" style="color:#278CC8">{{formate.numberFormat(saleReportInfo.totalSettleWeight || 0)}}</view>
|
|
<view class="text-black text-sm">总结算重量(吨)</view>
|
|
</view>
|
|
</view>
|
|
<view class="bg-white flex flex-justify" style="padding: 0rpx 32rpx">
|
|
<view class="van-hairline--top" style="width:320rpx"></view>
|
|
<view class="van-hairline--top" style="width:320rpx"></view>
|
|
</view>
|
|
<view class="bg-white flex flex-center">
|
|
<view class="flex flex-center flex-column" style="flex:1;padding:32rpx;">
|
|
<view class="text-xxl text-bold" style="color:#278CC8">{{saleReportInfo.carNumber || 0}}</view>
|
|
<view class="text-black text-sm">总出车数(车)</view>
|
|
</view>
|
|
<view class="van-hairline--left" style="height:100rpx"></view>
|
|
<view class="flex flex-center flex-column" style="flex:1;padding: 32rpx;">
|
|
<view class="text-xxl text-bold" style="color:#278CC8">{{formate.numberFormat(saleReportInfo.totalSettlePrice || 0)}}</view>
|
|
<view class="text-black text-sm">总结算金额(元)</view>
|
|
</view>
|
|
</view>
|
|
<view style="height:24rpx"></view>
|
|
|
|
|
|
<van-calendar show="{{ show }}" type="range" row-height="50" allow-same-day="{{ true }}" 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"/>
|