Files
ziqim/Yangcai365_web/manage/zview/stat/refund/designRefundOrgTotalStatistics.zml
T
2025-02-20 14:59:35 +08:00

116 regels
4.5 KiB
Plaintext
Ruw Blame Geschiedenis

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
${Scripts.src("/zinc/chart/highcharts.js")}
${Scripts.src("/zinc/chart/exporting.js")}
${Scripts.src("/zinc/chart/highcharts-zh_CN.js")}
<script>
Z.onload(function()
{
var orgAllOrder = '${refundOrgMergeCount}';
Highcharts.chart('container',
{
chart: {plotBackgroundColor: null,plotBorderWidth: null,plotShadow: false,type: 'pie'},
title: {text: '组织退款总统计(总退款量:'+orgAllOrder+''},
tooltip: {pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'},
plotOptions:
{
pie:
{
allowPointSelect: true,
cursor: 'pointer',
dataLabels:
{
enabled: true,
format: '<b>{point.name}</b>: {point.percentage:.1f} %',
style: { color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'}
}
}
},
series:
[{
name: '组织退款占比',
colorByPoint: true,
data:[
<#for item : pieMap.keySet()>
{name: '${item}',y: ${pieMap.get(item)}},
</#for>
]
}]
});
});
</script>
${zhiqim_manager_breadcrumb("组织退款统计")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<#if ZmrPathRule.check(request, "/designOrderRefundRateStat.htm")><li onclick="Z.Location.href('designOrderRefundRateStat.htm')">退款率统计</li></#if>
<#if ZmrPathRule.check(request, "/designOrderRefundStat.htm")><li onclick="Z.L.href('designOrderRefundStat.htm')">订单退款统计</li></#if>
<li class="z-active">组织退款统计</li>
<#if ZmrPathRule.check(request, "/designRefundPrdTypeStatistics.htm")><li onclick="Z.L.href('designRefundPrdTypeStatistics.htm')">产品退款统计</li></#if>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" action="/designRefundOrgTotalStatistics.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>查询日期:
<select name="year" class="z-select" data-role="z-select" data-class="z-blue">
<#for yyyy : 2018..DateTimes.getCurrentYear()>
<option value="${yyyy}" <#if year==yyyy>selected</#if>>${yyyy}</option>
</#for>
</select>
<select name="month" class="z-select" data-role="z-select" data-class="z-blue">
<#for mm : 1..12>
<option value="${mm}" <#if month==mm>selected</#if>>${mm}</option>
</#for>
</select>
<button type="submit" class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</tr>
</table>
</form>
<br>
<#-- 分页列表-->
<table class="z-table z-bordered z-pd6 z-bg-white">
<tr>
<td width="50%"><div id="container" class="z-bg-white" style="min-width:400px;height:600px"></div></td>
<td width="*">
<table class="z-table z-bordered-line z-pd10 z-bg-white z-text-left" style="text-align:center">
<tr class="z-bold">
<td width="20%">组织名称</td>
<td width="10%">总接单量</td>
<td width="10%">退款单量</td>
<td width="10%">退款率</td>
<td width="15%">退款金额</td>
<td width="15%">总订单金额</td>
<td width="20%">组织金额退款比例</td>
</tr>
<#for item : refundOrgList>
<tr>
<td>${item.getOrgName()}</td>
<td>${item.getOrgOrderCount()}</td>
<td>${item.getOrgRefundCount()}</td>
<td>${CalculationUtil.designerRefundCalculate(item.getOrgOrderCount(),item.getOrgRefundCount())}</td>
<td>${Amounts.toYuan(item.getOrgRefundMoneySum())}</td>
<td>${Amounts.toYuan(item.getOrgOrderMoneySum())}</td>
<td>${CalculationUtil.designerRefundCalculate(item.getOrgOrderMoneySum(),item.getOrgRefundMoneySum())}</td>
</tr>
</#for>
<tr class="z-bold">
<td>总计</td>
<td>${orgOrderMergeCount}</td>
<td>${refundOrgMergeCount}</td>
<td>${CalculationUtil.designerRefundCalculate(orgOrderMergeCount,refundOrgMergeCount)}</td>
<td>${Amounts.toYuan(refundOrgMoneySum)}</td>
<td>${Amounts.toYuan(orgOrderMoneySum)}</td>
<td>${CalculationUtil.designerRefundCalculate(orgOrderMoneySum / 100,refundOrgMoneySum / 100)}</td>
</tr>
</table>
</td>
</tr>
</table>
${zhiqim_manager_content_end()}